Alejandro Martínez
e858ddfa0b
Add CDB_ForeignTable specs
2016-02-08 15:46:25 +01:00
Alejandro Martínez
edf79d9368
Add remote cdb_tablemetadata manually from public schema
2016-02-08 15:45:58 +01:00
Rafa de la Torre
c26ab0fdd1
Merge pull request #195 from CartoDB/fdw-rtorre
...
Fix small typos: s/name/fdw_name/
2016-02-05 13:18:24 +01:00
Rafa de la Torre
8dedd2b3f4
Fix small typos: s/name/fdw_name/
2016-02-05 13:15:20 +01:00
Rafa de la Torre
11834dfdab
Fix typo: missing semicolon
2016-02-05 10:44:55 +01:00
Alejandro Martínez
b957635e78
Add CDB_Get_Foreign_Updated_At function
2016-02-04 18:26:43 +01:00
Alejandro Martínez
a9b9f1ff6c
Rename CDB_FDW_Create to CDB_FDW_Setup, formatting fixes
2016-02-04 12:06:22 +01:00
Alejandro Martínez
d7b560324a
Add _Create_FDW function to create a FDW defined on the config by name
2016-02-03 18:07:23 +01:00
Alejandro Martínez
7b52058265
Add CDB_ForeignTable functions
2016-02-03 17:50:13 +01:00
Javier Goizueta
40a163f885
Release 0.13.1
2016-02-01 19:23:38 +01:00
Javier Goizueta
01d432c22c
Merge pull request #193 from CartoDB/fix-multiline-fn
...
Fix function declaration for create_from_unpackaged.sh use
2016-02-01 19:16:37 +01:00
Javier Goizueta
5285943dbf
Fix function declaration for create_from_unpackaged.sh use
...
The script create_from_unpackaged.sh does not support
function declarations where the signature (name and parameter list
of the function, including parentheses) is not on a single line.
2016-02-01 18:56:55 +01:00
Javier Goizueta
8414bdff31
Release 0.13.0
2016-01-29 17:53:51 +01:00
Javier Goizueta
5f96908df4
Merge pull request #185 from CartoDB/overviews
...
Overviews (new feature)
2016-01-29 17:44:47 +01:00
Javier Goizueta
06dd31f4ad
Fix: should be floating point divistion, not integer division
2016-01-29 16:51:52 +01:00
Javier Goizueta
6a11698a16
Merge branch 'overviews' into sql_lang
2016-01-29 16:29:23 +01:00
Javier Goizueta
00bd302f01
Avoid creating GridCluster overviews for non-point datasets
2016-01-29 16:19:35 +01:00
Javier Goizueta
93d4a6ead0
Restrict SECURITY DEFINER to overview registration
...
And check it is applied only overview tables with valid names
2016-01-28 17:04:06 +01:00
Javier Goizueta
66387c2d44
Make CDB_CreateOverviews a SECURITY DEFINER function
...
So that it can change the permissions of overview tables
(by updating pg_class) even when executed by non-priviledeged users.
2016-01-28 16:32:40 +01:00
Javier Goizueta
26c95347cd
Merge branch 'master' into overviews
2016-01-27 16:56:15 +01:00
Javier Goizueta
6a5e4b0460
Fix overviews tests
...
The aggregation method for strings has changed
2016-01-27 16:54:30 +01:00
Javier Goizueta
b8d50204dd
Avoid aggregation which causes out-of-memory crashes in PostgreSQL
...
The use of multiple string_agg functions, even if applied to groups
of one single record causes out of memory crashes in PG 9.3.4 for
some (large) tables.
2016-01-27 15:24:04 +01:00
Alejandro Martínez
845ac6dc9a
Release 0.12.0
2016-01-27 14:28:56 +01:00
Alejandro Martínez
350f101c3d
Merge pull request #190 from CartoDB/remove_schema_triggers
...
Remove schema triggers
2016-01-27 14:19:21 +01:00
Javier Goizueta
474de01757
Change the overview table naming scheme
...
The scheme is changed from table_ovN to _vovw_N_table for
lower collision probability.
Also future naming changes will be easier by using the functions
_CDB_OverviewTableDiscriminator, _CDB_OverviewTableName,
_CDB_IsOverviewTableOf, etc.
2016-01-26 13:20:28 +01:00
Javier Goizueta
1ebaeb76ac
Overload CDB_Overviews to accept either a single table or an array
...
The result of CDB_Overviews has been expandend with a base_table column
2016-01-26 10:39:26 +01:00
Alejandro Martínez
eb1222729d
Remove ddl triggers specs
2016-01-21 11:46:39 +01:00
Javier Goizueta
7033a8d9ac
Fixes for table names that require quotes or which include a schema name
...
Some cases left unsolved, with FIXME comments
2016-01-13 18:49:27 +01:00
Javier Goizueta
46bc774d38
Fix CDB_Overviews for the case that the table name requires quoting
2016-01-13 18:24:06 +01:00
Javier Goizueta
a9e2d19918
Document CDB_DropOverviews
2016-01-12 16:20:11 +01:00
Javier Goizueta
d352e1c463
Update Overviews tests
2016-01-12 15:36:07 +01:00
Javier Goizueta
5b47c51221
Add function to drop overviews
2016-01-12 15:35:50 +01:00
Javier Goizueta
ebaded0c7a
Merge branch 'master' into overviews
2016-01-12 13:34:26 +01:00
Javier Goizueta
ccdf8de59e
Enhance documentation, update comments
2016-01-12 12:08:41 +01:00
Javier Goizueta
a2f6cb4c04
Fix documentation
2016-01-12 11:59:57 +01:00
Javier Goizueta
02f386be33
Regard the GridCluster reduction strategy as private
...
The *strategy* parameteriation will be considered an
implementation detail for the time being.
2016-01-12 11:59:42 +01:00
Javier Goizueta
a7c70fe497
Fix: CDB_ZoomFromScale deviation for lowest zoom levels
2016-01-12 11:46:47 +01:00
Javier Goizueta
0a066e0126
Change the default overview reduction strategy to GridCluster
2016-01-11 15:35:04 +01:00
Javier Goizueta
913640e2dc
Preserve the column ordering of the base table in overviews
2016-01-11 15:34:10 +01:00
Javier Goizueta
ef7e613d41
Change CDB_ColumnNames to order columns names as in table
2016-01-11 15:28:27 +01:00
Javier Goizueta
fd7a8cff71
Change regular expression for consistency
2016-01-11 15:27:05 +01:00
Javier Goizueta
6ea63af974
Add function to obtain existing overviews of a table
2016-01-11 14:50:10 +01:00
Javier Goizueta
496f079b1c
Copy dataset privileges to overview tables
2016-01-04 18:06:56 +01:00
Javier Goizueta
4580c9cd5c
Change the cartodb_ids of aggregated overviews
...
Instead of arbitrary ids, the id of one of the aggregated records
is used, so that if it is used in the UI to query point
the information of one of the records grouped at the point will be
retrieved.
2016-01-04 10:33:39 +01:00
Javier Goizueta
08828b8b7d
Set owner of overlays to the owner of the base table
2015-12-29 15:22:12 +01:00
Javier Goizueta
cecba655eb
Preserve aggregated attributes of singleton groups
2015-12-29 14:56:47 +01:00
Javier Goizueta
b34a752172
Generate overviews for all Z levels
...
Skipping levels produces visually inferior results
2015-12-29 14:56:04 +01:00
Javier Goizueta
8ba9e74c4a
Order columns of aggregated overlays as in the base table
2015-12-29 13:38:07 +01:00
Alejandro Martínez
045ede6908
Remove schema_triggers from travis.yml
2015-12-29 10:43:37 +01:00
Alejandro Martínez
cd5c8f2904
Remove outdated references to schema triggers and change triggers
2015-12-29 10:43:18 +01:00