You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/01/08 01:03:34 UTC

[jira] [Created] (DRILL-1955) C++ Client - Drill client should provide a clean method for detecting query completion in the async API.

Parth Chandra created DRILL-1955:
------------------------------------

             Summary: C++ Client - Drill client should provide a clean method for detecting query completion in the async API.
                 Key: DRILL-1955
                 URL: https://issues.apache.org/jira/browse/DRILL-1955
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - C++
            Reporter: Parth Chandra
            Assignee: Parth Chandra


The C++ client swallows the query_completed status message because it has already signaled the end of data thru the ls_last_chunk.
However, it may be too early for the application (or odbc driver) to free resources.
The API should provide a clean method for detecting the completion of the query. This may include calling the listener callback one more time with no records, but with the query state set to completed.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)