Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1305

C++ Client. Consume QueryState message from the Drillbit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.6.0
    • Client - C++
    • None

    Description

      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:

      // protocol/src/main/protobuf/UserBitShared.proto
      enum QueryState {
      	  PENDING = 0;
      	  RUNNING = 1;
      	  COMPLETED = 2;
      	  CANCELED = 3;
      	  FAILED = 4;
      	  UNKNOWN_QUERY = 5;
      	}
      

      Attachments

        1. DRILL-1305.3.patch
          17 kB
          Xiaomeng Huang
        2. DRILL-1305.4.patch
          21 kB
          Xiaomeng Huang

        Issue Links

          Activity

            People

              xiaom Xiaomeng Huang
              xiaom Xiaomeng Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: