drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-459) Hive source table containing varchar fails in drill
Date Thu, 29 May 2014 17:49:06 GMT

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

Jacques Nadeau resolved DRILL-459.
----------------------------------

    Resolution: Fixed

> Hive source table containing varchar fails in drill
> ---------------------------------------------------
>
>                 Key: DRILL-459
>                 URL: https://issues.apache.org/jira/browse/DRILL-459
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Ramana Inukonda Nagaraj
>
> Query a hive table as below
> hive> desc nation;
> OK
> n_nationkey         	int                 	None                
> n_name              	varchar(25)         	None                
> n_regionkey         	int                 	None                
> n_comment           	varchar(152)        	None                
> Time taken: 1.697 seconds, Fetched: 4 row(s)
> 0: jdbc:drill:> select * from hive.nation;
> message: "Failure while parsing sql. < UnsupportedOperationException:[ Could not determine
type ]"
> Stacktrace:
> java.lang.UnsupportedOperationException: Could not determine type
>         at org.apache.drill.exec.store.hive.HiveRecordReader.getMajorType(HiveRecordReader.java:374)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>         at org.apache.drill.exec.store.hive.HiveRecordReader.setup(HiveRecordReader.java:198)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>         at org.apache.drill.exec.physical.impl.ScanBatch.<init>(ScanBatch.java:65)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>         at org.apache.drill.exec.store.hive.HiveScanBatchCreator.getBatch(HiveScanBatchCreator.java:69)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>         at org.apache.drill.exec.store.hive.HiveScanBatchCreator.getBatch(HiveScanBatchCreator.java:35)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>         at org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:60)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>         at org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:37)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>         at org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitSubScan(AbstractPhysicalVisitor.java:82)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]



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

Mime
View raw message