[ 
https://issues.apache.org/jira/browse/DRILL-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14123907#comment-14123907
 ] 

Xiao Meng commented on DRILL-1305:
----------------------------------

Review Board Link https://reviews.apache.org/r/25409/

> C++ Client. Consume QueryState message from the Drillbit
> --------------------------------------------------------
>
>                 Key: DRILL-1305
>                 URL: https://issues.apache.org/jira/browse/DRILL-1305
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>    Affects Versions: 0.4.0
>            Reporter: Xiao Meng
>            Assignee: Xiao Meng
>             Fix For: 0.6.0
>
>
> Drillbit may send a query state message with empty record batch.  For 
> example, Drillbit will send a COMPLETED message to the client after a query 
> is completed. The C++ client ignored the message for now. We should consume 
> the message and send an ack message back to the server.
> The query state could be:
> {code}
> // protocol/src/main/protobuf/UserBitShared.proto
> enum QueryState {
>         PENDING = 0;
>         RUNNING = 1;
>         COMPLETED = 2;
>         CANCELED = 3;
>         FAILED = 4;
>         UNKNOWN_QUERY = 5;
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to