Commit Graph

1377 Commits

Author SHA1 Message Date
Daniel García Aubert
7cc7482944 Implemented limit to query size in Batch API. 2016-04-18 15:30:16 +02:00
csobier
88db772d53 updated note and added link to client examples 2016-04-18 09:13:44 -04:00
Daniel
7508d19ab5 Merge pull request #275 from CartoDB/docs-661-add-batch-api-to-sql-doc
Docs 661 add batch api to sql doc (Do not merge yet)
2016-04-08 19:01:27 +02:00
csobier
065331a779 added error note in the Cancel operation 2016-04-08 12:45:30 -04:00
csobier
3d99766a60 removed patch and updated the multi query cancel description 2016-04-08 11:21:26 -04:00
csobier
4ddd72c04f added to intro of multi query re:all poerations 2016-04-08 09:26:02 -04:00
csobier
2478b694ac applied Daniels edits, applies consistency of username in examples 2016-04-08 09:11:31 -04:00
csobier
639d73c397 added multi query to batch api doc, and merged master into this branch and fixed doc conflicts 2016-04-07 15:54:35 -04:00
Daniel García Aubert
61bbdd6db4 Removed unused code 2016-04-05 18:52:12 +02:00
Daniel García Aubert
4a83de09af Added job status enumerable to avoid hardcodes strings 2016-04-05 18:50:04 +02:00
Daniel García Aubert
8d67faad59 Stubs next version 2016-04-05 16:17:03 +02:00
Daniel García Aubert
c103d315af Release 1.27.0 2016-04-05 16:06:16 +02:00
Daniel
423e729e11 Merge pull request #283 from CartoDB/batch-improve-startup
Improved initialization in Batch API
2016-04-05 15:46:21 +02:00
Daniel
86b97ee24d Merge pull request #280 from CartoDB/batch-multiquery-jobs
Batch multiquery jobs
2016-04-05 15:45:22 +02:00
Daniel García Aubert
7121b3b800 Passed test 2016-04-04 20:05:58 +02:00
Daniel García Aubert
1414e0a9dd Fix #276, reload subcription to PUBSUB channel and looks for queues every 10 minutes 2016-04-04 20:00:18 +02:00
Daniel García Aubert
b62edcb64f Refactored batch-api startup. Isolated code related to queue discovering, api much clear and concise. 2016-04-04 16:05:33 +02:00
dgaubert
ed070e3040 Used SCAN instead of KEYS for looking for queues when Batch API starts 2016-04-01 15:03:32 +02:00
dgaubert
e2cc09f1dd Allowed modification to multiquery-jobs if its status is pending 2016-04-01 11:33:27 +02:00
dgaubert
c886e05b87 Improved condition in job backend 2016-03-31 19:14:38 +02:00
dgaubert
5c5c151237 Added failed_reason to query in multiquery jobs 2016-03-31 19:03:38 +02:00
dgaubert
e8a44136c5 Now Batch API looks for queues with jobs to consume at service initialization time 2016-03-31 17:37:35 +02:00
dgaubert
270cdf8969 Set pending to multiquery job when draining 2016-03-31 15:11:35 +02:00
dgaubert
f95e8ef7f2 Fixed job status when failing 2016-03-31 13:36:58 +02:00
dgaubert
fd9bfe277e Implemented multiquery jobs for Batch API 2016-03-31 12:39:03 +02:00
dgaubert
ef65350771 Returns job from redis after change any job status 2016-03-30 16:44:55 +02:00
dgaubert
b5089e9ec7 Merge branch 'batch-multiquery-jobs' of github.com:CartoDB/CartoDB-SQL-API into batch-multiquery-jobs 2016-03-30 11:37:04 +02:00
csobier
c5610452f9 Merge pull request #281 from CartoDB/docs-753-move-error-codes
updated description about SQL response errors
2016-03-29 07:57:33 -04:00
csobier
de6f12b9bc updated description about SQL response errors 2016-03-28 12:58:44 -04:00
Daniel García Aubert
c220b157b4 Removed extra empty lines 2016-03-21 19:47:07 +01:00
Daniel García Aubert
efca278bec Fixed error updating multiquery job 2016-03-21 19:43:28 +01:00
Daniel García Aubert
aefd32ee06 Improved message in failed_error property for multi-query jobs 2016-03-21 15:10:05 +01:00
Daniel García Aubert
ee0821a518 Changed error message in batch api 2016-03-21 12:29:43 +01:00
Daniel García Aubert
689f97c1c7 Improved function naming and query error message. 2016-03-21 12:09:54 +01:00
Daniel García Aubert
705e649b80 Fixed style typos
Please enter the commit message for your changes. Lines starting
2016-03-18 18:19:00 +01:00
Daniel García Aubert
a32fa7b108 Implemented new test for multiquery jobs 2016-03-18 18:12:01 +01:00
Daniel García Aubert
5e0b86b181 Improved error message in multi-jobs 2016-03-18 16:23:40 +01:00
Daniel García Aubert
dcab147e90 Improved error handling for multi-jobs and cancelation. 2016-03-18 16:05:36 +01:00
Daniel García Aubert
056f22b156 Implemented multi-jobs, user is able to send an array of jobs and batch service will run them in series 2016-03-18 14:57:18 +01:00
Raul Ochoa
dbc7e27f94 Merge pull request #278 from CartoDB/skip-query-tables-cache
Skip query tables cache for authenticated requests
2016-03-10 19:22:05 +01:00
Raul Ochoa
66cd1f400f Skip query tables cache for authenticated requests 2016-03-10 19:20:56 +01:00
Alejandro Martínez
b453f2b2d0 Update shrinkwrap 2016-03-08 16:25:17 +01:00
Alejandro Martínez
ffb1afb962 Release 1.26.0 2016-03-08 16:17:35 +01:00
Alejandro Martínez
e100cfb584 Merge pull request #273 from CartoDB/new_querytables
Use node-cartodb-querytables library and add Surrogate-Keys
2016-03-08 15:33:04 +01:00
Raul Ochoa
5ebc8e43d5 Start hits=0 as first time is not a hit 2016-03-08 14:50:08 +01:00
Raul Ochoa
b8460d033e Add a cache decorator over QueryTables 2016-03-08 14:48:56 +01:00
Raul Ochoa
69fa13ab50 Do not track CDB_ sql function files 2016-03-08 14:09:15 +01:00
Raul Ochoa
dbe033112d Rethrow error but do not fail when getting affected tables 2016-03-08 14:00:31 +01:00
Daniel García Aubert
9e67d21a05 Passed test 2016-03-02 10:55:35 +01:00
Daniel García Aubert
fbaebfe8f2 Fixed weird message in Batch SQL API 2016-03-02 10:31:14 +01:00