Raul Marin
a30ba351cf
Qualify extension calls
2019-10-08 11:47:00 +02:00
Raul Marin
33b723fa3d
Set safe path
2019-10-08 11:19:09 +02:00
Javier Goizueta
dfaf0d5245
Prevent use of quota for bogus configurations
...
This is a stop-gap measure for the hypothetical case of a service configuration that yields NULL quota values.
2019-02-25 16:32:01 +01:00
Rafa de la Torre
f63d73b9d7
Fix the bulk geocoding when soft_limit is enabled
...
Fix the case where there's not enough quota to geocode a table but the
soft_limit is set to true.
The function `cdb_enough_quota` accounts for the `soft_limit` flag, as
well as for the remaining quota and the rows to be geocoded.
2019-02-19 12:27:29 +01:00
Javier Torres
e2c0a63803
Use Point for geocoding results
2018-12-24 17:19:13 +01:00
antoniocarlon
5307078171
Added CR suggestions
2018-09-11 12:13:06 +02:00
antoniocarlon
0bdba67342
Using ERRCODE
2018-09-10 16:54:25 +02:00
antoniocarlon
08daa6a6a2
Changed error message
2018-09-10 16:45:31 +02:00
antoniocarlon
4b6b4e92e8
CR suggestions (remove appname)
2018-09-10 12:54:37 +02:00
antoniocarlon
ca717ed123
Fixed permission check
2018-09-06 15:40:41 +02:00
antoniocarlon
8fb9524213
Added exceptions to bulk geocoding client
2018-09-06 10:42:56 +02:00
Juan Ignacio Sánchez Lara
b0c1948c14
TL;DR: safer deployment and minor fixes
...
- Instead of modifying cdb_service_quota_info to return max_batch_size,
a new type (service_quota_info_batch) and a new function
(cdb_service_quota_info_batch) are created. That makes deployment safe.
- Fixes geocoding with forced batch size 1.
- Improves namespacing for count_estimate (->
cdb_dataservices_client.cdb_count_estimate).
- Improves namespacing for jsonb_array_casttext (->
cdb_dataservices_client.cdb_jsonb_array_casttext).
2018-07-18 14:57:40 +02:00
Juan Ignacio Sánchez Lara
d060bd8229
Simplification of batching
2018-07-17 13:24:39 +02:00
Juan Ignacio Sánchez Lara
da78b0bc65
Fix batching with negatives cartodb_id
2018-07-11 12:28:39 +02:00
Juan Ignacio Sánchez Lara
531ad28158
Send optimal batch size
2018-07-10 19:31:58 +02:00
Juan Ignacio Sánchez Lara
286a75fa8e
_bulk_geocode logic extraction
2018-07-10 15:17:14 +02:00
Juan Ignacio Sánchez Lara
e416a8a641
HERE batch support
2018-07-02 18:35:36 +02:00
Juan Ignacio Sánchez Lara
45b8fc4ecf
Quota and batch size checks fixes and tests
2018-06-28 13:06:52 +02:00
Juan Ignacio Sánchez Lara
379257b4b4
Fix quota check
2018-06-27 19:07:19 +02:00
Juan Ignacio Sánchez Lara
d5e47e39ab
Revert bulk geocoding column parameters order and test_city_column_geocoding
2018-06-26 13:59:44 +02:00
Juan Ignacio Sánchez Lara
c2a207b1cd
Batching, better support for null columns, and bulk geocoding integration tests
2018-06-26 13:35:24 +02:00
Juan Ignacio Sánchez Lara
91d93bef79
Random temporary table name
2018-06-22 14:34:42 +02:00
Juan Ignacio Sánchez Lara
bbbf70f3ac
Street level columns for country, city and state
2018-06-22 12:19:51 +02:00
Juan Ignacio Sánchez Lara
4d2abc7667
Simpler and more precise quota check
2018-06-22 09:41:29 +02:00
Juan Ignacio Sánchez Lara
58d70e252f
checked, bulked cdb_bulk_geocode_street_point
2018-06-21 10:23:39 +02:00
Juan Ignacio Sánchez Lara
e85f43f1d1
cdb_bulk_geocode_street_point skeleton
2018-06-15 09:55:52 +02:00