drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venki Korukanti (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-790) A query to an empty Hive table never returns from sqlline
Date Tue, 10 Jun 2014 20:15:02 GMT

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

Venki Korukanti updated DRILL-790:
----------------------------------

    Attachment: DRILL-790-1.patch

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

Mime
View raw message