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 19:00:39 UTC

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

     [ https://issues.apache.org/jira/browse/DRILL-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Parth Chandra updated DRILL-1955:
---------------------------------
    Attachment: DRILL-1955.1.patch

> 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
>         Attachments: DRILL-1955.1.patch
>
>
> 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)