Commit Graph

120 Commits

Author SHA1 Message Date
Andy Eschbacher
18445d7755 adding better comments and tidying up code 2016-04-22 21:19:55 -04:00
Andy Eschbacher
ebc2c6dec5 adding tests for _obs_searchtables 2016-04-22 21:19:19 -04:00
Andy Eschbacher
54c3407d49 adding fixture to load/drop scripts 2016-04-22 20:55:59 -04:00
Andy Eschbacher
31609e347a adding new fixture 2016-04-22 15:48:07 -04:00
Andy Eschbacher
6fa7bcd871 adding expected for getgeom functions 2016-04-22 15:08:34 -04:00
Andy Eschbacher
6d30ee352c adding schema 2016-04-21 16:29:27 -04:00
Andy Eschbacher
17267c5894 adding schema hard-coded to function names 2016-04-21 16:22:32 -04:00
Andy Eschbacher
a2a0a6f3b7 harmonizing functions with timespan 2016-04-21 16:19:51 -04:00
Andy Eschbacher
e119e0ddda make search_tables a table returning function 2016-04-21 15:13:02 -04:00
Andy Eschbacher
e72583e15c formatting 2016-04-21 09:48:43 -04:00
Andy Eschbacher
16d65d01f3 finishing getgeometrybyid 2016-04-21 09:48:20 -04:00
Andy Eschbacher
8f161c1e68 debugged getgeometry and getgeometryid 2016-04-20 15:13:22 -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
Andy Eschbacher
c434cacd10 adding null cases 2016-04-14 14:52:23 -04:00
Andy Eschbacher
4b6b311823 augmentation tests 2016-04-14 14:27:56 -04:00
Andy Eschbacher
3ee448016a whitespace 2016-04-14 14:27:34 -04:00
Andy Eschbacher
874a397d3b adding percentile fixtures 2016-04-14 14:26:19 -04:00
Andy Eschbacher
3468d6e5e9 add new fixtures to process 2016-04-14 13:23:40 -04:00
Andy Eschbacher
094b2da61d adding new data fixtures subset 2016-04-14 13:23:04 -04:00
Andy Eschbacher
3beaf710a7 minor changes 2016-04-14 13:22:44 -04:00
Andy Eschbacher
0bb304d43d dropped numbering of fixture processing files 2016-04-14 10:48:11 -04:00
Andy Eschbacher
9c1d761f55 moving to load_fixtures instead of tables 2016-04-14 10:39:05 -04:00
Andy Eschbacher
44645ef1c6 Merge branch 'QLIK' of https://github.com/CartoDB/observatory-extension into QLIK 2016-04-14 10:38:26 -04:00
Andy Eschbacher
f91c540bc3 adding fixture processing scripts to test 2016-04-14 10:30:56 -04:00
Andy Eschbacher
48fd02c689 fixing table name 2016-04-14 10:30:07 -04:00
Andy Eschbacher
863f26716e breaking out fixture processing files into two steps 2016-04-14 10:29:32 -04:00
Andy Eschbacher
4597896689 Merge branch 'QLIK' of https://github.com/CartoDB/observatory-extension into QLIK 2016-04-14 10:00:20 -04:00
Rafa de la Torre
eeded3d420 Load the rest of the fixtures 2016-04-14 15:53:40 +02:00
Andy Eschbacher
2f8b42e346 adding tables to load 2016-04-14 09:49:09 -04:00
Andy Eschbacher
91e1be0f8a adding tables with data 2016-04-14 09:48:46 -04:00
Rafa de la Torre
06ebc706c0 Deal with test artifacts in .gitignore files 2016-04-14 15:36:32 +02:00
Rafa de la Torre
ace8470b0c Add fixtures loading test closes #5
Avoiding duplicate code.
2016-04-14 15:32:44 +02:00
Andy Eschbacher
4f1d4c4250 Merge branch 'QLIK' of https://github.com/CartoDB/observatory-extension into QLIK 2016-04-14 08:10:45 -04:00