drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-735) Drill fails when querying hive tables which have a varchar dataype
Date Fri, 20 Jun 2014 23:46:25 GMT

    [ https://issues.apache.org/jira/browse/DRILL-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039553#comment-14039553
] 

Rahul Challapalli commented on DRILL-735:
-----------------------------------------

Thanks for the fix. Looks good

> Drill fails when querying hive tables which have a varchar dataype
> ------------------------------------------------------------------
>
>                 Key: DRILL-735
>                 URL: https://issues.apache.org/jira/browse/DRILL-735
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Hive
>            Reporter: Rahul Challapalli
>            Assignee: DrillCommitter
>             Fix For: 1.0.0-BETA1
>
>         Attachments: DRILL-735-1.patch
>
>
> Create a hive table
> DROP TABLE IF EXISTS HIVESTUDENTS;
> CREATE EXTERNAL TABLE HIVESTUDENTS
> (
>     ID VARCHAR(24),
>     NAME VARCHAR(24),
>     STREET VARCHAR(256),
>     ZIPCODE INT,
>     STATE VARCHAR(20),
>     PERCENTAGE DECIMAL
> )
> ROW FORMAT DELIMITED FIELDS
> TERMINATED BY ','
> STORED AS TEXTFILE LOCATION "/drill/testdata/students/";
> 2. Make sure the queries are working fine in hive
> 3. Query from drill :
>         select count(*) from hive.hivestudents;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id:
"a90db583-9a1c-48b1-9b04-e72014e76f28"
> endpoint {
>   address: "qa-node190.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while parsing sql. < UnsupportedOperationException:[ Could not determine
type: VARCHAR ]"
> ]
> Error: exception while executing query (state=,code=0)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message