You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Srihari Srinivasan (JIRA)" <ji...@apache.org> on 2013/08/09 14:42:47 UTC

[jira] [Updated] (DRILL-164) Changes to DrillClient

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

Srihari Srinivasan updated DRILL-164:
-------------------------------------

    Description: 
With respect to the DrillClient we'll need the following methods in order to support an async style interaction.

- new DrillClient().submitQuery(QueryType, Query String) that returns
the *QueryId* *and continues to execute in the background*

- new DrillClient().getStatus(queryId) that returns a Status object. It
could just return *IN_PROGRESS, SUCCEEDED and FAILED* for now. And some
way to know why it failed in case it did.

- new DrillClient().getResults(queryId) that returns *QueryResultBatch* as it is doing now.
     Issue Type: Improvement  (was: Bug)
    
> Changes to DrillClient
> ----------------------
>
>                 Key: DRILL-164
>                 URL: https://issues.apache.org/jira/browse/DRILL-164
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Srihari Srinivasan
>
> With respect to the DrillClient we'll need the following methods in order to support an async style interaction.
> - new DrillClient().submitQuery(QueryType, Query String) that returns
> the *QueryId* *and continues to execute in the background*
> - new DrillClient().getStatus(queryId) that returns a Status object. It
> could just return *IN_PROGRESS, SUCCEEDED and FAILED* for now. And some
> way to know why it failed in case it did.
> - new DrillClient().getResults(queryId) that returns *QueryResultBatch* as it is doing now.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira