[ 
https://issues.apache.org/jira/browse/ASTERIXDB-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Maxon updated ASTERIXDB-3593:
---------------------------------
    Labels: triaged  (was: )

> Support Individual Responses for Multi-Statement Queries
> --------------------------------------------------------
>
>                 Key: ASTERIXDB-3593
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3593
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Janhavi Tripurwar
>            Priority: Major
>              Labels: triaged
>         Attachments: response.json
>
>
> Currently, AsterixDB returns results in an aggregated format. When executing 
> multiple statements the response contains the output and status of all 
> statements combined in aggregated metrics. We need to support individual 
> responses for each statement in the sequence.
>  
> Example:
>  
> {code:java}
> curl -v -H "Content-Type: application/json" -d '{
>     "statement": "create dataset new_dt primary key (id: int);upsert into 
> new_dt [{\"id\": 1}]; select * from new_dt;",
>     "multi-statement": true
> }' http://localhost:19002/query/service
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to