Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1790711E02 for ; Thu, 18 Sep 2014 22:09:58 +0000 (UTC) Received: (qmail 88305 invoked by uid 500); 18 Sep 2014 22:09:58 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 88277 invoked by uid 500); 18 Sep 2014 22:09:58 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 88268 invoked by uid 99); 18 Sep 2014 22:09:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 22:09:57 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 18 Sep 2014 22:09:36 +0000 Received: (qmail 86976 invoked by uid 99); 18 Sep 2014 22:09:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 22:09:33 +0000 Date: Thu, 18 Sep 2014 22:09:33 +0000 (UTC) From: "Xiao Meng (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1305) C++ Client. Consume QueryState message from the Drillbit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.2.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.2.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)