Raul Marin
fcc06e82bf
Jenks: Force valid tests
2018-09-10 13:16:25 +02:00
Raul Marin
74f939fd53
CDB_OverviewsTest: Run analyze for consistency
2018-09-04 18:22:22 +02:00
Raul Marin
ac15a6da25
Test: Update CDB_GreatCircle_expect for Postgis 2.4
2018-09-04 17:25:22 +02:00
Eneko Lakasta
b209726b1c
Merge pull request #320 from bloomberg/v0_18_5/cdb_tablemetadata_text_hotfix
...
Fix incorrect timestamps in CDB_TableMetadata_Text
2018-07-23 16:00:19 +02:00
Javier Torres
24a37be1a9
Change querytables expect test
2018-07-20 13:22:02 +02:00
Javier Torres
5659275c0c
Don't rely on regexp to identify non explainable queries
2018-07-20 13:01:51 +02:00
Rafa de la Torre
55a77b0ef0
Add a new helper function _CDB_Table_Exists
2018-07-03 13:00:24 +02:00
Javier Torres
c19c88c9e0
Test for granting permissions for table with non-seria lcartodb_id
2018-05-28 19:54:19 +02:00
Javier Torres
716f47edae
We should be able to grant permission to non-cartodbfied tables
2018-05-28 19:46:58 +02:00
Mario de Frutos
da5d3ea8d9
Added test for the case that arose in #325
2018-03-22 11:53:50 +01:00
Andy Eschbacher
b6b0ef704a
Merge branch 'master' into quantiles-bins-updates
2018-03-08 10:33:01 -05:00
Javier Goizueta
0a58c05049
Merge pull request #323 from CartoDB/321-grant-sequence
...
grant usage on cartodb_id sequence when sharing read write
2018-02-15 16:29:25 +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
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
0f7a1c4882
Remove PARALLEL mode in older versions (up to 9.6)
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
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
8db73ae9bd
Add test for faulty use case #305
2017-06-29 17:53:43 +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
a486eed2e3
Add CDB_EstimateRowCount function
...
See #295
2017-04-07 15:35:48 +02: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
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
Rafa de la Torre
30cd4cf1f9
Fix tests: race condition with publicuser #157
2016-10-17 16:31:10 +02:00
Javier Goizueta
1356131ec1
Fix tests
2016-10-14 11:22:06 +02:00
Javier Goizueta
07892271e5
Exclude analysis cache tables from the quota
...
See #277
2016-10-14 10:56:14 +02:00
Javier Goizueta
4786e0a2ae
Test cleanup
2016-10-11 17:49:50 +02:00
Javier Goizueta
358c89b332
Add tests for CDB_CheckAnalysisQuota()
2016-10-11 16:35:08 +02:00
Javier Goizueta
1f01ecae30
Exclude overviews from user data size
...
Fixes #261
Some internal functions from the Overviews module
have been moved to a separate file because they're now
used from Quaota function.
2016-06-13 10:04:13 +02:00
Paul Norman
3122a0479d
Test behavior of binning fuctions with nulls
...
All test results are based off of existing behavior, which doesn't
always make sense (ref #247 )
2016-04-28 09:59:33 -07:00
Raul Ochoa
de5a702510
Adds table for storing camshaft analysis nodes
2016-04-18 17:41:39 +02:00
Javier Goizueta
09ad550de3
Fix tests
2016-04-15 17:50:47 +02:00
Javier Goizueta
45f063d469
Aggregate small number of text items in overviews
...
Instead of nulling text fields for non-singleton aggregated records
concatenate distinct text values when they're few (5 or less).
Fixes #231
2016-04-15 12:37:16 +02:00
Javier Goizueta
176d69d09e
Fix AVG computation in overview tables
...
Fixes #232
Averages of averages are not equal to overall averages.
2016-04-15 10:48:08 +02:00
Carla
213adcca16
Fixes tests for tolerance_px = 1.0, with no zoom 3
2016-04-14 11:24:10 +02:00
Javier Goizueta
f0ff197c56
Merge branch 'master' into 219-overviews-tolerance
...
# Conflicts:
# scripts-available/CDB_Overviews.sql
# test/CDB_OverviewsTest_expect
2016-04-05 13:08:22 +02:00
Javier Goizueta
57c32332e2
New function CDB_CreateOverviewsWithToleranceInPixels
...
This function allows defining the previously fixed parameter grid_px.
The lim parameter used to define the reference Z level is also
correlated to this value.
Fixes #219
2016-04-04 19:21:10 +02:00
Javier Goizueta
6d9424746c
Fix expected tests output
2016-04-04 17:42:10 +02:00
Javier Goizueta
c0262a05eb
Fix CDB_Overviews for cases that require explicit schema name
...
Fixes #218
2016-04-04 17:02:59 +02:00
Javier Goizueta
603b1ceed8
Adjust Overviews test expectations
2016-03-21 12:58:00 +01:00
Javier Goizueta
0caf6c50dd
Fix the tests for boolean columns and overview creation
2016-03-21 12:27:00 +01:00
Javier Goizueta
70eeab5748
Tests for revealing issue #211
...
Test creating overviews for tables with boolean columns
2016-03-17 19:27:51 +01:00