Commit Graph

107 Commits

Author SHA1 Message Date
Stuart Lynn
a9b22caadf updating OBS_GetCategories to json internals 2016-04-22 16:40:21 -04:00
Stuart Lynn
2c46a72038 bug fix 2016-04-22 16:14:56 -04:00
Stuart Lynn
7782bdeec2 adding tests fro new json returning get methods 2016-04-22 16:10:41 -04:00
Stuart Lynn
69ac0d25f2 Adding tests for new json returning utility functions 2016-04-22 16:10:30 -04:00
Stuart Lynn
3394483a45 migrating OBS_GET, OBS_GetPoints, OBS_GetPolygons and OBS_GetMeasure to all use json internals 2016-04-22 14:45:22 -04:00
Stuart Lynn
7659ededaa Changing OBS_GetColumnData to return json and more metadata 2016-04-22 14:43:56 -04:00
Stuart Lynn
1e625ce3ef Updated version of OBS_Get to support json returning 2016-04-21 15:18:39 -04:00
Stuart Lynn
00d43a7812 Updating OBS_ColumnData to support more info 2016-04-21 15:16:04 -04:00
john krauss
06232b235a Merge pull request #21 from CartoDB/denominator
adding _OBS_GetRelatedColumn function
2016-04-21 12:31:31 -04:00
John Krauss
afd1be30b5 fixing whitespace 2016-04-21 12:30:50 -04:00
John Krauss
90a944070d more test and whitespace fixes 2016-04-21 12:26:55 -04:00
John Krauss
b8148768b8 fix whitespace and bug in test call 2016-04-21 12:22:20 -04:00
Stuart Lynn
6684c67e61 updating function name 2016-04-21 12:14:30 -04:00
Stuart Lynn
c10da16d55 adding _OBS_GetRelatedColumn function 2016-04-20 17:24:07 -04:00
john krauss
17db441b6e Merge pull request #19 from CartoDB/add_back_search_functions
Adding OBS_search function and tests
2016-04-20 17:16:45 -04:00
John Krauss
75f4e6d412 add trailing whitespace 2016-04-20 17:11:12 -04:00
John Krauss
1702a392b3 add trailing whitespace 2016-04-20 17:08:56 -04:00
John Krauss
30c1ed08c0 adjusting expectations 2016-04-20 17:05:29 -04:00
John Krauss
39e9ff32e5 missing "and" 2016-04-20 16:57:07 -04:00
John Krauss
851419a927 fix duplicate var name issue 2016-04-20 16:49:41 -04:00
John Krauss
a6655003aa fix duplicate var name issue 2016-04-20 16:47:40 -04:00
John Krauss
6696d4fcf5 adding id to return for obs_search, fixing OBS_GetAvailableBoundaries 2016-04-20 16:45:24 -04:00
John Krauss
594c6b5d80 test_point => TestPoint 2016-04-20 16:23:57 -04:00
John Krauss
73f4a682cf fix whitespace and testpoint 2016-04-20 16:22:13 -04:00
John Krauss
1f6347aa23 adjusting expectations to reflect reality of the situation 2016-04-20 16:18:20 -04:00
John Krauss
d016c4b4bd remove typo in sql def 2016-04-20 16:15:39 -04:00
John Krauss
83119d0720 fix expectation typo 2016-04-20 16:12:23 -04:00
John Krauss
e90a0c1900 tautolotest 2016-04-20 16:03:14 -04:00
John Krauss
5e69297836 first pass obs_getmeasure 2016-04-20 15:51:19 -04:00
Stuart Lynn
b8d42a41dd adding OBS_GetAvailableBoundaries 2016-04-20 15:28:45 -04:00
Stuart Lynn
a29876f47f making obs_search a bit more secure 2016-04-20 13:42:13 -04:00
Stuart Lynn
6e9f4a03d1 Adding OBS_search function and tests 2016-04-20 13:28:27 -04:00
Rafa de la Torre
d6077457dd Revert "Make OBS_GetDemographicSnapshot return json"
This reverts commit 987cfde7b6.
2016-04-20 11:12:41 +02:00
Rafa de la Torre
987cfde7b6 Make OBS_GetDemographicSnapshot return json 2016-04-19 17:54:56 +02:00
Carla Iriberri
077f8fedf5 Wrap functions in row_to_json 2016-04-19 17:31:08 +02:00
Carla Iriberri
ad55625769 Rename private functions and edit tests 2016-04-19 15:39:31 +02:00
Rafa de la Torre
e9f390526b Make expected values of observatory functions match actual ones 2016-04-19 15:13:18 +02:00
Rafa de la Torre
96b3a085b6 Remove fixture from metadata not present in data 2016-04-19 15:12:00 +02:00
Rafa de la Torre
10a175ed0b Fully qualify function names 2016-04-19 15:09:17 +02:00
Rafa de la Torre
b1b69113a2 Fully qualify function names 2016-04-19 14:59:54 +02:00
Rafa de la Torre
67ae37fb67 Remove search_path modification from tests 2016-04-19 14:44:19 +02:00
Rafa de la Torre
66f89e0728 Fixed observatory utility tests after merge 2016-04-19 14:41:41 +02:00
Rafa de la Torre
a999c6e99c Some test fixes after merging branches 2016-04-19 14:40:11 +02:00
Rafa de la Torre
7a215db14f Merge remote-tracking branch 'origin/QLIK' into qlik-alfa-plproxy
Conflicts:
	src/pg/test/expected/40_observatory_utility_test.out
	src/pg/test/sql/40_observatory_utility_test.sql
2016-04-19 14:26:41 +02:00
Carla Iriberri
7bc37861a5 Make tests work in Postgres 9.3 2016-04-19 14:15:33 +02:00
Rafa de la Torre
55ae84362a Fix utility tests 2016-04-19 14:04:42 +02:00
Rafa de la Torre
a533eb703e Use schema explicitly from within extension 2016-04-19 14:04:12 +02:00
Andy Eschbacher
4977b94281 more robust tests around null island 2016-04-14 16:35:30 -04:00
Andy Eschbacher
c1fb6c3694 adding null cases to augmentation 2016-04-14 16:25:09 -04:00
Andy Eschbacher
f72754e1d5 fixing case where point doesn't intersect so area is null 2016-04-14 16:22:32 -04:00