drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Chandra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1305) C++ Client. Consume QueryState message from the Drillbit
Date Wed, 22 Oct 2014 05:26:33 GMT

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

Parth Chandra commented on DRILL-1305:
--------------------------------------

+1 
Reviewed and tested on Mac/Windows/Linux

> 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
>
>         Attachments: DRILL-1305.3.patch, DRILL-1305.4.patch
>
>
> 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)

Mime
View raw message