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)

Reply via email to