Add comments

This commit is contained in:
Javier Goizueta 2016-02-22 15:36:02 +01:00
parent 6fa726bcce
commit c293781624

View File

@ -14,6 +14,7 @@ BEGIN
-- Note: comments contain pseudo-code that should be implemented
-- Register metadata tables:
-- This would require super-user privileges
/*
SELECT cdb_add_remote_table('observatory', 'bmd_column_table');
SELECT cdb_add_remote_table('observatory', 'bmd_column_2_column');
@ -120,13 +121,14 @@ BEGIN
column_name := 'total_pop';
-- Register the foreign table
SELECT cdb_add_remote_table('observatory', table_name);
-- This would require super-user privileges
-- SELECT cdb_add_remote_table('observatory', table_name);
-- Perform the query
SELECT cdb_crankshaft.cdb_overlap_sum(
area,
table_name,
table_column,
column_name,
schema_name := 'observatory')
INTO population;