[
https://issues.apache.org/jira/browse/DRILL-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029366#comment-14029366
]
Jacques Nadeau commented on DRILL-790:
--------------------------------------
fixed at or before 4198a17
> 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
> Fix For: 1.0.0-BETA1
>
> Attachments: DRILL-790-1.patch
>
>
> 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)