Eneko Lakasta
ea0542dcb1
remove use of step
2018-02-07 18:48:59 +01:00
Eneko Lakasta
a4dbc1bac2
remove step and check existance of proper api key
2018-02-07 18:20:56 +01:00
Rafa de la Torre
065f56e161
Improve the speed of the aggregation dataview
...
Improve the performance of the aggregation dataview.
Instead of using a CTE (WITH) for filtered_source, which is only used in
one place to calculate ranks, inject it as a subquery.
This way the planner has a chance to ignore uneeded columns as well as
to parallelize the exectution of the window function (WindowAgg in the
query plan).
That is the part that takes most of the time of the query.
The improvement is about 20-40% in speed on PG10 with 4 cores.
2018-02-07 18:10:13 +01:00
Eneko Lakasta
6b5d6648de
fix unit test
2018-02-07 17:14:46 +01:00
Eneko Lakasta
95538707c9
add parameter asMaster to setDBAuth
2018-02-07 17:14:13 +01:00
Eneko Lakasta
4c76a921b1
use res.locals instead of req.params
2018-02-07 16:02:13 +01:00
Eneko Lakasta
85c1c987af
refactor setDBConn to not use step
2018-02-07 15:49:32 +01:00
Eneko Lakasta
bde86323fd
use master api key in setDBAuth
2018-02-07 15:36:24 +01:00
Eneko Lakasta
880e3f388d
remove use of _.extend calls
2018-02-07 12:46:10 +01:00
Eneko Lakasta
c1535b1a12
refactor setDBAuth to not use step
2018-02-07 12:40:36 +01:00
Eneko Lakasta
232ff1ba33
add apikeys keys to be removed after each test
2018-02-07 11:59:00 +01:00
Eneko Lakasta
1b63dcd4e5
add api keys to prepare db for testing
2018-02-07 11:10:50 +01:00
Raúl Marín
b32a0a6547
Merge pull request #864 from Algunenano/master_metrics
...
Add metrics option to Mapnik renderer (off by default)
2018-02-06 16:48:22 +01:00
Raul Marin
d634be0c30
Update NEWs and Windshaft to 4.5.0
2018-02-06 16:10:44 +01:00
Raul Marin
f9fe3ace37
Add mapnik metrics option
2018-02-06 16:07:22 +01:00
Simon Martín
6cd8131888
updating NEWS
2018-02-06 11:30:34 +01:00
Simon Martín
0ea76f7d15
Merge pull request #849 from CartoDB/redis4
...
Redis4 support
2018-02-06 11:24:02 +01:00
Simon Martín
51e5b5c255
upgrading cartodb-redis, redis-mpool and windshaft versions
2018-02-05 18:09:14 +01:00
Simon Martín
cedcc094e6
Merge branch 'master' into redis4
2018-02-05 12:42:59 +01:00
Javier Goizueta
bbe8d4e820
Stub next version
2018-02-01 16:39:43 +01:00
Javier Goizueta
5aa98c4ab2
Release 5.2.1
2018-02-01 16:37:05 +01:00
Javier Goizueta
d6a9103779
Merge pull request #861 from CartoDB/860-aggregation-min-res
...
Limit the minimum size of the the aggregation grid
2018-02-01 16:32:35 +01:00
Javier Goizueta
2e7784ddf2
Add comment to clafify aggregation resolution limit
2018-02-01 10:26:52 +01:00
Raul Marin
086be461b2
Stub next version
2018-02-01 09:33:18 +01:00
Raul Marin
a7157532f1
Release 5.2.0
2018-02-01 09:31:46 +01:00
Raúl Marín
55fd660d69
Merge pull request #859 from Algunenano/master_cache_features
...
Add Mapnik 'cache-features' option
2018-02-01 09:27:07 +01:00
Javier Goizueta
80604b739a
Add test for aggregation with attributes
...
This reveals #860
2018-01-31 18:56:24 +01:00
Javier Goizueta
d88fbbaa87
Use camelCase
2018-01-31 18:55:28 +01:00
Javier Goizueta
7db0744f67
Simplify expression
2018-01-31 17:54:40 +01:00
Javier Goizueta
d1fcd797a3
Limit the minimum size of the the aggregation grid
...
Fixes #860
2018-01-31 17:46:13 +01:00
Raul Marin
150c6ee4be
Update to Windshaft 5.3.3
2018-01-31 17:24:15 +01:00
Raul Marin
d0df8b1533
Update yarn.lock
2018-01-31 15:40:23 +01:00
Raul Marin
43e1de31fa
Add Mapnik 'cache-features' option
2018-01-31 12:18:28 +01:00
Rafa de la Torre
33ed9ab47d
Stub next version
2018-01-30 10:16:08 +01:00
Rafa de la Torre
749a08336a
Merge pull request #857 from CartoDB/upgrade-to-mapnik-3.6.2-carto.2
...
Upgrade to node mapnik 3.6.2-carto.2
2018-01-30 10:13:15 +01:00
Rafa de la Torre
467097b3cc
Merge remote-tracking branch 'origin/master' into upgrade-to-mapnik-3.6.2-carto.2
2018-01-30 10:07:01 +01:00
Javier Goizueta
487aca52d0
Stub next version
2018-01-29 18:25:14 +01:00
Javier Goizueta
072956addd
Release 5.0.1
2018-01-29 18:16:30 +01:00
Rafa de la Torre
781d2d3a28
Update NEWS.md
2018-01-29 17:41:46 +01:00
Rafa de la Torre
2a767cdb83
Update yarn.lock
2018-01-29 17:40:49 +01:00
Rafa de la Torre
e3cf69ac1a
Bump windshaft version
...
That version contains our flavor of mapnik 3.0.15 with a bunch of
patches. See
https://github.com/CartoDB/Windshaft/blob/master/NEWS.md#version-431
2018-01-29 17:40:17 +01:00
Javier Goizueta
27b5420358
Merge pull request #856 from CartoDB/841-the_geom_webmercator-type
...
Check the type of the_geom_webmercator for aggregation
2018-01-29 16:13:19 +01:00
Javier Goizueta
7641542e67
Check the type of the_geom_webmercator for aggregation
...
Fixes #841
2018-01-29 15:48:35 +01:00
Javier Goizueta
debb174af4
Add test for aggregation without the_geom
...
Only the_geom_webmercator is required for aggregation
See #841
2018-01-29 15:44:24 +01:00
Eneko Lakasta
2bd4c9e814
Merge pull request #851 from CartoDB/1259-category-widget-error-group-by-missing
...
use original column name in group by instead of alias
2018-01-29 15:38:07 +01:00
Simon Martín
0dc7872256
stubs next version
2018-01-29 15:26:41 +01:00
Simon Martín
1e56ba1de9
Merge pull request #854 from CartoDB/respect-types-aggreagation
...
Respect category type of aggregation dataview
2018-01-29 15:24:38 +01:00
Simon Martín
6f4e338dcb
version 5.0.0
2018-01-29 15:19:07 +01:00
Eneko Lakasta
941ebf7d80
Merge branch 'master' into 1259-category-widget-error-group-by-missing
2018-01-29 14:51:59 +01:00
Simon Martín
c38bf6ade8
Merge branch 'master' into respect-types-aggreagation
2018-01-29 14:51:20 +01:00