Javier Goizueta
81f2fad3ad
Merge pull request #322 from CartoDB/max-grid-size
...
Add limit to the grid-generating functions
2018-02-15 16:09:12 +01:00
Javier Goizueta
0a0f2e294b
Fix tests
2018-02-15 10:27:19 +01:00
Alberto Romeu
cd4653ecc0
grant usage on cartodb_id sequence when sharing read write
2018-02-15 08:40:17 +01:00
Javier Goizueta
7ea428913a
Add limit to the grid-generating functions
...
This adds an optinal maxcells parameter to the rectangle and hexagonal grids,
with a default value of 262144 (2^18).
An error occurs when the grids would need more cells.
2018-02-14 17:50:06 +01:00
Tyler Parsons
5c86029029
Test for correct timestamps in cdb_tablemetadata_text
2018-01-25 23:08:28 -05:00
Tyler Parsons
acd101af9b
Use PGPORT as fdw port if specified
2018-01-25 23:08:12 -05:00
Tyler Parsons
d811a71da0
Fix incorrect timestamps in CDB_TableMetadata_Text
...
Instead of performing a proper join on tabname, CDB_TableMetadata_Text joins
cdb_tablemetadata against pg_catalog.pg_class (i.e. All postgres tables,
views, indices, etc.) and gives a record for every possible tabname and
updated_at combination. This results in the latest updated timestamp being
chosen for any table in CDB_Get_Foreign_Updated_At, which leads to unnecessary
and incorrect cache invalidation.
2018-01-25 12:27:38 -05:00
Paul Ramsey
4050555801
Quiet errors where there's no existing sequence
2018-01-18 10:26:01 -08:00
Paul Ramsey
e4b0e7ea7a
Make user final seq has the right desired name
2018-01-18 10:06:38 -08:00
Paul Ramsey
a79c2cb7a8
draft tweek on seq handling
2018-01-18 09:27:46 -08:00
Andy Eschbacher
dbaf795a79
adjust expectation to reality instead of expectation (added TODOs)
2017-12-06 08:18:24 -05:00
Andy Eschbacher
4b937de415
updates JenksTests to reflect expectations without nulls
2017-12-06 08:10:09 -05:00
Andy Eschbacher
2fe02d8154
fix alias of column
2017-12-05 16:24:11 -05:00
Andy Eschbacher
691b9a8312
moves quantile bins to use postgres precentile functions
2017-12-05 16:16:39 -05:00
Raul Marin
5243192296
Change sed in-place for tmpfiles
2017-11-14 15:57:40 +01:00
Raul Marin
8131887204
Release version 0.20.0
2017-11-13 09:35:20 +01:00
Raul Marin
36550440bf
Update CONTRIBUTING with information about function labels
2017-11-13 09:35:20 +01:00
Raul Marin
9d980ab17c
Mark CDB_JenksBins as VOLATILE as it uses random
2017-11-13 09:35:20 +01:00
Raul Marin
72c214a8e4
Fix regex for PARALLEL aggregations
...
Worked in pg10, but it didn't in pg9.5
2017-11-13 09:35:20 +01:00
Raul Marin
0f7a1c4882
Remove PARALLEL mode in older versions (up to 9.6)
2017-11-13 09:35:20 +01:00
Raul Marin
0abc2ba250
Add PARALLEL parameter to functions
2017-11-13 09:35:20 +01:00
Raul Marin
f24d15f6ca
Fix issues when running under pg10
2017-10-25 14:38:06 +02:00
Raul Marin
386eccdda2
Travis: Set dist as Ubuntu Precise
2017-10-24 15:12:24 +02:00
Rafa de la Torre
5d43faecaf
Release version 0.19.2
2017-06-30 15:04:35 +02:00
Rafa de la Torre
acbaf634dc
Merge pull request #306 from CartoDB/305-fix-unique-identifiers
...
305 fix unique identifiers
2017-06-30 15:00:49 +02:00
Rafa de la Torre
c379946c95
Update dependencies of travis script #305
2017-06-30 12:52:26 +02:00
Rafa de la Torre
711c954d1a
Fix evil tests #305
...
Basically force generation of long name identifiers that conflict
with first choice of another unique identifier.
2017-06-29 18:53:26 +02:00
Rafa de la Torre
ffb779eb74
Increase search space of ids by 100x #305
2017-06-29 17:54:42 +02:00
Rafa de la Torre
8db73ae9bd
Add test for faulty use case #305
2017-06-29 17:53:43 +02:00
Mario de Frutos
208ebb2724
Update NEWS.md for version 0.19.1
2017-06-05 11:20:38 +02:00
Mario de Frutos
951ec51968
Merge pull request #302 from CartoDB/regenerate_overviews_deadlock
...
Regenerate overviews deadlock
2017-06-05 11:17:14 +02:00
Mario de Frutos
8a3d506a53
Add some debug logs to be used in the future
2017-06-02 15:41:18 +02:00
Mario de Frutos
c839f74c63
Fixed travis shield
2017-06-02 15:30:19 +02:00
Mario de Frutos
8389b39c00
Bump new version
2017-06-02 15:23:47 +02:00
Mario de Frutos
4908bacc4b
If existing overviews we regenerate them
...
Instead of make a DROP/CREATE always, in case we have existing
overviews we have to make DELETE/INSERT because DDL operations require
AccessExclusiveLock which is not compatible with AccessShareLock that
is used by the queries used to gather data for the tiler.
This incompatibility above mentioned leads to have deadlocks
2017-06-02 15:23:47 +02:00
Mario de Frutos
38fa3b485c
Remove unused and old _CDB_GridCluster_Reduce_Strategy function for overviews
2017-06-02 13:05:05 +02:00
Javier Goizueta
2d473cf693
New version 0.19.0
2017-04-11 11:22:20 +02:00
Javier Goizueta
4193ff3874
Merge pull request #298 from CartoDB/295-estimate-row-count
...
Add CDB_EstimateRowCount function
2017-04-11 11:01:31 +02:00
Javier Goizueta
68a0752849
Use PG 9.5 for travis tests; fix tests
2017-04-10 15:58:49 +02:00
Javier Goizueta
815b5b429d
Fix tests
2017-04-10 13:50:37 +02:00
Javier Goizueta
76bdb3657a
Fix tests
2017-04-10 12:17:47 +02:00
Javier Goizueta
234373df11
Replace unnecessary count
2017-04-10 08:08:59 +02:00
Javier Goizueta
a486eed2e3
Add CDB_EstimateRowCount function
...
See #295
2017-04-07 15:35:48 +02:00
Mario de Frutos
795d92da8d
Added CLA paragraph
2017-01-25 10:54:12 +01:00
Javier Goizueta
58e2e7e238
Release 0.18.5
2016-11-30 17:17:45 +01:00
Javier Goizueta
25d27263cb
Merge pull request #249 from CartoDB/nullbins
...
Test behavior of binning fuctions with nulls
2016-11-30 16:09:23 +01:00
Javier Goizueta
bbadcc838e
Merge pull request #244 from CartoDB/equalbins
...
Convert CDB_EqualIntervalBins to a single SQL statement and add float version
2016-11-30 16:09:05 +01:00
Javier Goizueta
b1a0904c07
Merge pull request #181 from CartoDB/update_to_cdb_stats
...
Fix for division by zero error on empty or homogenous array
2016-11-30 16:08:40 +01:00
Javier Goizueta
399b680b41
Merge pull request #283 from CartoDB/157-test-fixes
...
Fix tests: race condition with publicuser #157
2016-11-30 16:08:21 +01:00
Javier Goizueta
7c0636c5f9
Merge pull request #290 from CartoDB/286-overview-strategies
...
Add point overview strategies
2016-11-30 11:46:29 +01:00