fix tests
This commit is contained in:
parent
d5e67b9fe1
commit
cdf70ea545
@ -32,7 +32,7 @@ Done.
|
||||
-- should give back a table like obs_{hex hash}
|
||||
SELECT
|
||||
cdb_observatory._OBS_GeomTable(
|
||||
CDB_LatLng(40.7128,-74.0059),
|
||||
ST_SetSRID(ST_Point(-74.0059, 40.7128), 4326),
|
||||
'"us.census.tiger".census_tract'
|
||||
);
|
||||
_obs_geomtable
|
||||
@ -44,7 +44,7 @@ SELECT
|
||||
-- should give back null
|
||||
SELECT
|
||||
cdb_observatory._OBS_GeomTable(
|
||||
CDB_LatLng(40.7128,-74.0059),
|
||||
ST_SetSRID(ST_Point(-74.0059, 40.7128), 4326),
|
||||
'"us.census.tiger".nonexistant_id' -- not in catalog
|
||||
);
|
||||
_obs_geomtable
|
||||
@ -55,7 +55,7 @@ SELECT
|
||||
-- future test: give back nulls when geometry doesn't intersect
|
||||
-- SELECT
|
||||
-- cdb_observatory._OBS_GeomTable(
|
||||
-- CDB_LatLng(0,0), -- should give back null since it's in the ocean?
|
||||
-- ST_SetSRID(ST_Point(0,0)), -- should give back null since it's in the ocean?
|
||||
-- '"us.census.tiger".census_tract'
|
||||
-- );
|
||||
-- OBS_GetColumnData
|
||||
|
Loading…
Reference in New Issue
Block a user