You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2013/11/18 23:59:21 UTC

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

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

Jacques Nadeau resolved DRILL-164.
----------------------------------

    Resolution: Fixed

merged in dc2e173

> Changes to DrillClient
> ----------------------
>
>                 Key: DRILL-164
>                 URL: https://issues.apache.org/jira/browse/DRILL-164
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Srihari Srinivasan
>            Assignee: Jacques Nadeau
>         Attachments: DRILL-164.patch.0.txt, DRILL-164.patch.1.txt, drill-164.diff
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)