Javier Goizueta
19bf079f2d
Exclude test from PostGIS 2.4
2017-12-22 15:45:14 +01:00
Javier Goizueta
e9a4fc4b2c
Use full-sample aggregation only as default
...
Sampling is performed only when placement, columns or dimensions are specified;
otherwise the regular centroid/grid-point/grid-center is used without sampling.
2017-12-22 11:31:33 +01:00
Daniel García Aubert
7f64d15944
Merge branch 'master' into full-sample
2017-12-20 15:58:58 +01:00
Daniel
8259271184
Merge pull request #826 from CartoDB/fix-typo-dimensions
...
Fix typo
2017-12-20 15:02:32 +01:00
Daniel García Aubert
20366cedb4
Skip test for PostGis 2.4
2017-12-20 14:53:34 +01:00
Daniel García Aubert
a102d1d366
jshint, I hate you
2017-12-20 14:41:29 +01:00
Daniel García Aubert
4b97b4fd26
Fix typo
2017-12-20 14:35:47 +01:00
Daniel
b94debf10e
Merge pull request #825 from CartoDB/export-supported-placements
...
Export supported placements and create static methods to expose them
2017-12-20 13:27:23 +01:00
Daniel García Aubert
60030784c1
Export supported placements and create static methods to expose them in a fancy way
2017-12-20 12:42:29 +01:00
Daniel García Aubert
cc9b190e5d
Minor style formats
2017-12-19 16:17:37 +01:00
Daniel García Aubert
4946ca688c
Add test to check full-sample query
2017-12-19 16:17:13 +01:00
Daniel García Aubert
d2828ecaff
Update test
2017-12-19 13:07:57 +01:00
Daniel García Aubert
5a3dd6a914
Use supported placemets of aggregation-query
2017-12-19 13:00:18 +01:00
Daniel García Aubert
bcd2fd8f88
Export supported placements
2017-12-19 12:59:33 +01:00
Daniel García Aubert
94a5e66881
Merge branch 'master' into full-sample
2017-12-19 12:47:36 +01:00
Daniel García Aubert
d55b78f76b
Update next release version in NEWS
2017-12-19 12:46:29 +01:00
Daniel García Aubert
42149f9ae7
Update NEWS
2017-12-19 12:45:30 +01:00
Daniel
1e08d946b1
Merge pull request #822 from CartoDB/aggregation-validation
...
Validate aggregation input params
2017-12-19 12:42:28 +01:00
Daniel García Aubert
f22216e6d2
Catch error threw from constructor and follow node callback pattern
2017-12-19 12:23:54 +01:00
Raul Marin
d9cf830fb4
Stub for next release
2017-12-19 12:23:27 +01:00
Raul Marin
b762008c79
Release 4.5.0
2017-12-19 12:23:27 +01:00
Raul Marin
ca2c2b80d8
Update NEWS
2017-12-19 12:09:14 +01:00
Raul Marin
f946dfa65f
Date histograms: Add tests for the new aggregation modes
2017-12-19 12:09:14 +01:00
Raul Marin
418f5faa11
Date histogram: Reduce the threshold to change in auto mode to 100
2017-12-19 12:09:14 +01:00
Raul Marin
bba6db9dbf
Date histogram: Add second, decade, century and millenium aggregations
2017-12-19 12:09:14 +01:00
Daniel García Aubert
326cad2f2c
Typo
2017-12-19 10:54:20 +01:00
Daniel García Aubert
34808d6147
Improve naming
2017-12-19 10:50:53 +01:00
Daniel García Aubert
79b04bbdfd
Rename param
2017-12-19 10:47:53 +01:00
Daniel García Aubert
45a663d5ae
Split columns validator
2017-12-19 10:43:34 +01:00
Daniel García Aubert
cace6169c0
Add function to create layer errors
2017-12-19 10:25:41 +01:00
Daniel García Aubert
bdce2f95f2
Add validations for columns
2017-12-18 20:42:26 +01:00
Javier Goizueta
506e16fc87
Experimental full-sample aggregation
2017-12-18 20:18:37 +01:00
Daniel García Aubert
c367743d76
Export SUPPORTED_AGGREGATE_FUNCTIONS
2017-12-18 20:06:16 +01:00
Daniel García Aubert
fa7140e736
Rename argument
2017-12-18 19:52:50 +01:00
Daniel García Aubert
c63226cd26
Improve function naming
2017-12-18 19:51:55 +01:00
Daniel García Aubert
777df6337b
Style typo
2017-12-18 19:47:11 +01:00
Daniel García Aubert
2dda0a80da
Improve error context
2017-12-18 19:35:12 +01:00
Daniel García Aubert
e2bd97eea6
Move validation to the constructor
2017-12-18 19:19:02 +01:00
Daniel García Aubert
fb03cd3424
Move aggregation validation to its own module
2017-12-18 19:17:43 +01:00
Daniel García Aubert
8a48b96c53
Rename file
2017-12-18 19:06:01 +01:00
Daniel García Aubert
76b0c94835
Rename file
2017-12-18 19:05:49 +01:00
Daniel García Aubert
6a36aa1f13
Order checks to validate if a layer should be adapted
2017-12-18 18:56:53 +01:00
Daniel García Aubert
800870e783
Remove local variable
2017-12-18 18:55:32 +01:00
Daniel García Aubert
6638ba91c3
Refactor supported geometry types
2017-12-18 18:53:44 +01:00
Daniel García Aubert
47e4b9da0d
Encapsulate threshold layer validation in aggregation-mapconfig
2017-12-18 18:43:14 +01:00
Daniel García Aubert
81e0c3a098
Add RESOLUTION default getter
2017-12-18 18:26:08 +01:00
Daniel García Aubert
2068861988
Add PLACEMENT default getter
2017-12-18 18:24:09 +01:00
Daniel García Aubert
878f3bd627
Move .sql() to aggregation-mapconfig
2017-12-18 18:17:01 +01:00
Daniel García Aubert
170fcc1973
Move static methods
2017-12-18 17:42:12 +01:00
Daniel García Aubert
d0c88ce21d
Improve naming
2017-12-18 17:26:41 +01:00