You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Xiao Meng (JIRA)" <ji...@apache.org> on 2014/08/15 05:27:18 UTC

[jira] [Created] (DRILL-1305) C++ Client. Consume QueryState message from the Drillbit

Xiao Meng created DRILL-1305:
--------------------------------

             Summary: 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
            Reporter: Xiao Meng
            Assignee: Xiao Meng


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.2#6252)