Javier Goizueta
391ac51f0f
Implement metadata queries with plain Promises
...
Remove usage of PhasedExecution
This achives better query execution granularity and
removes questionable usage of shared results object.
It introduces a couple of behavior changes:
* estimatedFeatureCount desn't ignore errors now
* sample always uses estimatedFeatureCount,even if the actual count is also computed.
2018-05-18 15:33:07 +02:00
Javier Goizueta
4bc8fb207a
Use sql_raw for query without aggregation
2018-05-18 15:29:46 +02:00
Javier Goizueta
012fa91e83
Typo
2018-05-16 14:45:34 +02:00
Javier Goizueta
3af1182206
Rename misleading function argument
2018-05-16 14:45:19 +02:00
Javier Goizueta
b8109401d1
Tests for metadata with aggregation
2018-05-13 13:05:39 +02:00
Javier Goizueta
5e09c80b71
Remove comment
2018-05-11 19:57:49 +02:00
Javier Goizueta
b906f88a44
Slight refactor
2018-05-11 19:32:03 +02:00
Javier Goizueta
24b1b53ba0
Merge branch 'master' into metadata
2018-05-11 18:58:38 +02:00
Javier Goizueta
53fae9fbbd
Comment
2018-05-11 18:57:14 +02:00
Javier Goizueta
3b4668cc19
Fix simple tabley sampling
2018-05-11 14:45:12 +02:00
Javier Goizueta
34ad3fcfe8
Add aggregated stat for testing
...
Also change aggregated stats to not filter a single tile
2018-05-11 14:18:31 +02:00
Javier Goizueta
68b3cb8a34
Fix estimated row count with aggregations
...
All stats are computed now pre-aggregation
Code to help compute post-aggregation stats remains for testing
2018-05-11 13:44:43 +02:00
Javier Goizueta
cae4dd81c9
WIP: fix problems for aggregations & metadata
2018-05-10 19:12:47 +02:00
Daniel G. Aubert
e5ddd57d65
Merge pull request #927 from CartoDB/separate-app-and-controllers-creation
...
Separate app and controllers creation
2018-05-10 13:19:10 +02:00
Daniel García Aubert
db35ec682a
Merge branch 'master' into separate-app-and-controllers-creation
2018-05-09 18:12:06 +02:00
Daniel G. Aubert
111889565a
Merge pull request #931 from CartoDB/separate-routers
...
Separate public API (create a router hierarchy) from monitoring endpoints
2018-05-09 17:57:50 +02:00
Daniel G. Aubert
c68ece96cd
Merge pull request #934 from CartoDB/improve-folder-structure
...
Improve folder structure
2018-05-09 17:26:13 +02:00
Daniel García Aubert
0741881959
Do not initialize status code to 404 when method is OPTIONS
2018-05-09 16:24:38 +02:00
Javier Goizueta
f7745928ab
Fix tests
...
eliminate dependency on the order of PostgreSQL results
2018-05-09 15:42:41 +02:00
Daniel García Aubert
976ee35a35
Use new routes configuration schema in ported test
2018-05-09 15:24:33 +02:00
Daniel García Aubert
c51e254287
Set 404 as defautl status code and set the proper status code fir the response at very same time that the response body
2018-05-09 15:00:18 +02:00
Daniel García Aubert
9feea66550
Use routes configuration to create and mount routes and controllers
2018-05-09 14:59:21 +02:00
Javier Goizueta
ee7bd5fb8a
Fix tests
2018-05-09 12:42:42 +02:00
Javier Goizueta
fff5b3d85a
Revert debugging changes
2018-05-09 11:59:24 +02:00
Javier Goizueta
d706d0eb22
More travis debugging through commits
2018-05-09 11:44:49 +02:00
Javier Goizueta
944ce80c1e
Revert debugging change
2018-05-09 11:42:53 +02:00
Javier Goizueta
d8ef8cb12f
Debug travis test failures
2018-05-09 11:08:02 +02:00
Javier Goizueta
eea7bed2f3
Slightly more elegant results of queries
2018-05-08 20:41:42 +02:00
Javier Goizueta
741bcd1a80
Metadata fixes
2018-05-08 20:07:20 +02:00
Javier Goizueta
9c9cfd015d
Add test for optional layer metadata
2018-05-08 20:06:14 +02:00
Raúl Marín
39a1b0742f
Merge pull request #951 from Algunenano/revert_windshaft472
...
Revert windshaft472
2018-05-08 19:14:59 +02:00
Raul Marin
03bcf573c3
Revert "Update yarn.lock with the Windshaft 4.7.2"
...
This reverts commit fa647a915c
.
2018-05-08 18:58:04 +02:00
Raul Marin
97d1b4fafa
Revert "Update Windshaft to 4.7.2"
...
This reverts commit 2cf0b9d097
.
2018-05-08 18:57:32 +02:00
Raúl Marín
d79d3fd4dc
Merge pull request #950 from CartoDB/windshaft472
...
Update to Windshaft 4.7.2
2018-05-08 18:05:24 +02:00
Raul Marin
fa647a915c
Update yarn.lock with the Windshaft 4.7.2
2018-05-08 14:08:12 +02:00
Raul Marin
2cf0b9d097
Update Windshaft to 4.7.2
2018-05-08 14:04:19 +02:00
Javier Goizueta
7d68a2967f
Fix: callback expected errors in first argument
2018-05-08 13:08:26 +02:00
Javier Goizueta
b96be69a5c
Clarify example
2018-05-08 13:08:01 +02:00
Javier Goizueta
636cd8cd50
Fix:phase execution
...
phase (not only its tasks) must be executed after the tasks of previous phases
2018-05-08 12:56:06 +02:00
Javier Goizueta
c647f852d6
Refactor metadata queries execution
...
Also fixed bug where sampling query generation needed results of count queries
2018-05-08 11:09:09 +02:00
Javier Goizueta
ebab879aca
Fix bugs & typos
2018-05-08 11:07:47 +02:00
Javier Goizueta
7561635b24
WIP:add layer metadata
2018-05-07 19:03:19 +02:00
Daniel García Aubert
7ed819e84a
Merge branch 'separate-routers' into improve-folder-structure
2018-05-07 18:29:53 +02:00
Daniel García Aubert
407a83e81d
Merge branch 'separate-app-and-controllers-creation' into separate-routers
2018-05-07 18:29:00 +02:00
Daniel García Aubert
3c3731252d
Respect default values with object.assign
2018-05-07 18:24:41 +02:00
Daniel García Aubert
8b64328087
Merge branch 'separate-routers' into improve-folder-structure
2018-05-07 17:28:20 +02:00
Daniel García Aubert
f1bb5b3d1d
Merge branch 'separate-app-and-controllers-creation' into separate-routers
2018-05-07 17:27:32 +02:00
Daniel García Aubert
7aeab47df4
Merge branch 'master' into separate-app-and-controllers-creation
2018-05-07 17:27:00 +02:00
Simon Martín
efa765a9fc
Merge pull request #945 from CartoDB/docker-tests
...
Travis tests: xenial+pg10 and precise+pg9.5
2018-05-07 10:56:15 +02:00
Simon Martín
910f5693d8
updating news
2018-05-07 10:43:15 +02:00