You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2014/06/10 17:12:07 UTC
[jira] [Commented] (DRILL-790) A query to an empty Hive table never
returns from sqlline
[ https://issues.apache.org/jira/browse/DRILL-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026548#comment-14026548 ]
Venki Korukanti commented on DRILL-790:
---------------------------------------
Same issue as DRILL-660 (where ScanBatch receives 0 RecordReaders) except that now FragmentExecutor exits without reporting the status back to remote fragment.
{code}
try {
root = ImplCreator.getExec(context, rootOperator);
} catch (ExecutionSetupException e) {
context.fail(e);
return;
}
{code}
Adding {{internalFail(e)}} resolves hanging issue.
> A query to an empty Hive table never returns from sqlline
> ---------------------------------------------------------
>
> Key: DRILL-790
> URL: https://issues.apache.org/jira/browse/DRILL-790
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - Hive
> Reporter: George Chow
> Assignee: Venki Korukanti
>
> Consider an empty table in Hive as follows:
> {code}
> hive> describe string_table;
> OK
> keycolumn string None
> column1 string None
> Time taken: 2.025 seconds, Fetched: 2 row(s)
> hive> select * from string_table;
> OK
> Time taken: 0.409 seconds
> {code}
> Querying this table from sqlline never returns:
> {code}
> 0: jdbc:drill:local=192.168.39.43:31010> describe hive.`default`.string_table;
> +-------------+------------+-------------+
> | COLUMN_NAME | DATA_TYPE | IS_NULLABLE |
> +-------------+------------+-------------+
> | keycolumn | VARCHAR | NO |
> | column1 | VARCHAR | NO |
> +-------------+------------+-------------+
> 2 rows selected (1.413 seconds)
> 0: jdbc:drill:local=192.168.39.43:31010> select * from hive.`default`.string_table;
> <never returns>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)