You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/06/09 07:35:16 UTC

[jira] [Updated] (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:all-tabpanel ]

Jacques Nadeau updated DRILL-790:
---------------------------------

    Component/s: Storage - Hive
       Assignee: Venki Korukanti

> 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)