You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe detecting a tag in the query, v.g. BATCH:, and the ;. Something like
BATCH:
CREATETABLEworld_airportsASSELECTa.cartodb_id, a.the_geom, a.the_geom_webmercator, a.name airport, b.name country FROM world_borders b JOIN airports a ON ST_Contains(b.the_geom, a.the_geom);
DROPTABLE airports;
ALTERTABLE world_airports RENAME TO airport;
Should be translated to this Batch API call
HEADERS: POST/api/v2/sql/job
BODY: {query: ["CREATE TABLE world_airports AS SELECT a.cartodb_id, a.the_geom, a.the_geom_webmercator, a.name airport, b.name country FROM world_borders b JOIN airports a ON ST_Contains(b.the_geom, a.the_geom)","DROP TABLE airports","ALTER TABLE world_airports RENAME TO airport"]}
Maybe detecting a tag in the query, v.g.
BATCH:
, and the;
. Something likeShould be translated to this Batch API call
And return the job IDs as a single field
As described in https://carto.com/docs/carto-engine/sql-api/batch-queries/#chaining-batch-queries
The text was updated successfully, but these errors were encountered: