[
https://issues.apache.org/jira/browse/DRILL-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028531#comment-14028531
]
Steven Phillips commented on DRILL-960:
---------------------------------------
Okay, so it looks like Project Pushdown is not enable for the Hive reader. So
we are materializing all of the columns.
As for the ClassCastException, this looks to be due to DRILL-452, which patch
has the code that treats "string" as VARCHAR16.
> Doing a select on a orc partitioned hive table fails with ClassCastException
> ----------------------------------------------------------------------------
>
> Key: DRILL-960
> URL: https://issues.apache.org/jira/browse/DRILL-960
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - Hive
> Reporter: Ramana Inukonda Nagaraj
> Assignee: Steven Phillips
> Attachments: orc_complex.q, orc_create_people.txt,
> orc_physicalplan.json
>
>
> SELECT id FROM orc_create_people;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while
> running query.[error_id: "dcfd06bf-9239-44cf-8f16-f92ffac39005"
> endpoint {
> address: "drillats4.qa.lab"
> user_port: 31010
> control_port: 31011
> data_port: 31012
> }
> error_type: 0
> message: "Failure while running fragment. < ClassCastException:[
> org.apache.drill.exec.vector.Var16CharVector cannot be cast to
> org.apache.drill.exec.vector.VarCharVector ]"
> ]
> Error: exception while executing query (state=,code=0)
--
This message was sent by Atlassian JIRA
(v6.2#6252)