Some test fixes after merging branches
This commit is contained in:
parent
7a215db14f
commit
a999c6e99c
@ -13,16 +13,6 @@ Loading obs_85328201013baa14e8e8a4a57a01e6f6fbc5f9b1.sql fixture file...
|
|||||||
Done.
|
Done.
|
||||||
Loading obs_3e7cc9cfd403b912c57b42d5f9195af9ce2f3cdb.sql fixture file...
|
Loading obs_3e7cc9cfd403b912c57b42d5f9195af9ce2f3cdb.sql fixture file...
|
||||||
Done.
|
Done.
|
||||||
Loading obs_column.sql fixture file...
|
|
||||||
Done.
|
|
||||||
Loading obs_column_table.sql fixture file...
|
|
||||||
Done.
|
|
||||||
Loading obs_column_to_column.sql fixture file...
|
|
||||||
Done.
|
|
||||||
Loading obs_85328201013baa14e8e8a4a57a01e6f6fbc5f9b1.sql fixture file...
|
|
||||||
Done.
|
|
||||||
Loading obs_3e7cc9cfd403b912c57b42d5f9195af9ce2f3cdb.sql fixture file...
|
|
||||||
Done.
|
|
||||||
Loading obs_ab038198aaab3f3cb055758638ee4de28ad70146.sql fixture file...
|
Loading obs_ab038198aaab3f3cb055758638ee4de28ad70146.sql fixture file...
|
||||||
Done.
|
Done.
|
||||||
Loading obs_a92e1111ad3177676471d66bb8036e6d057f271b.sql fixture file...
|
Loading obs_a92e1111ad3177676471d66bb8036e6d057f271b.sql fixture file...
|
||||||
@ -31,6 +21,14 @@ Loading obs_11ee8b82c877c073438bc935a91d3dfccef875d1.sql fixture file...
|
|||||||
Done.
|
Done.
|
||||||
Loading obs_d34555209878e8c4b37cf0b2b3d072ff129ec470.sql fixture file...
|
Loading obs_d34555209878e8c4b37cf0b2b3d072ff129ec470.sql fixture file...
|
||||||
Done.
|
Done.
|
||||||
|
-- OBS_GeomTable
|
||||||
|
-- get table with known geometry_id
|
||||||
|
-- should give back a table like obs_{hex hash}
|
||||||
|
SELECT
|
||||||
|
cdb_observatory.OBS_GeomTable(
|
||||||
|
CDB_LatLng(40.7128,-74.0059),
|
||||||
|
'"us.census.tiger".census_tract'
|
||||||
|
);
|
||||||
obs_geomtable
|
obs_geomtable
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
obs_a92e1111ad3177676471d66bb8036e6d057f271b
|
obs_a92e1111ad3177676471d66bb8036e6d057f271b
|
||||||
@ -38,10 +36,10 @@ Done.
|
|||||||
|
|
||||||
-- get null for unknown geometry_id
|
-- get null for unknown geometry_id
|
||||||
-- should give back null
|
-- should give back null
|
||||||
SELECT
|
SELECT
|
||||||
cdb_observatory.OBS_GeomTable(
|
cdb_observatory.OBS_GeomTable(
|
||||||
CDB_LatLng(40.7128,-74.0059),
|
CDB_LatLng(40.7128,-74.0059),
|
||||||
'"us.census.tiger".nonexistant_id'
|
'"us.census.tiger".nonexistant_id' -- not in catalog
|
||||||
);
|
);
|
||||||
obs_geomtable
|
obs_geomtable
|
||||||
---------------
|
---------------
|
||||||
@ -102,7 +100,6 @@ SELECT
|
|||||||
SELECT vals[1] As mandarin_orange
|
SELECT vals[1] As mandarin_orange
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
Dropping obs_table.sql fixture table...
|
|
||||||
\i test/sql/drop_fixtures.sql
|
\i test/sql/drop_fixtures.sql
|
||||||
SET client_min_messages TO NOTICE;
|
SET client_min_messages TO NOTICE;
|
||||||
\set ECHO none
|
\set ECHO none
|
||||||
|
Loading…
Reference in New Issue
Block a user