You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Xiao Meng (JIRA)" <ji...@apache.org> on 2014/10/20 21:55:34 UTC
[jira] [Updated] (DRILL-1305) C++ Client. Consume QueryState
message from the Drillbit
[ https://issues.apache.org/jira/browse/DRILL-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Meng updated DRILL-1305:
-----------------------------
Attachment: DRILL-1305.4.patch
> 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)