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/14 02:46:02 UTC
[jira] [Commented] (DRILL-735) Drill fails when querying hive
tables which have a varchar dataype
[ https://issues.apache.org/jira/browse/DRILL-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031371#comment-14031371 ]
Venki Korukanti commented on DRILL-735:
---------------------------------------
ReviewBoard link: https://reviews.apache.org/r/22601/
> 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: Venki Korukanti
> 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)