[
https://issues.apache.org/jira/browse/HIVE-5648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804945#comment-13804945
]
Navis commented on HIVE-5648:
-----------------------------
I think getPrimitiveJavaObjectInspector(PrimitiveCategory) should return proper
ObjectInspector like getPrimitiveJavaObjectInspector(PrimitiveTypeInfo) rather
than changing ExprNodeConstantDesc.
> error when casting partition column to varchar in where clause
> ---------------------------------------------------------------
>
> Key: HIVE-5648
> URL: https://issues.apache.org/jira/browse/HIVE-5648
> Project: Hive
> Issue Type: Bug
> Reporter: Jason Dere
> Assignee: Jason Dere
> Attachments: HIVE-5648.1.patch
>
>
> hive> select * from partition_varchar_2 where cast(dt as varchar(10)) =
> '2000-01-01';
> FAILED: RuntimeException org.apache.hadoop.hive.ql.metadata.HiveException:
> java.lang.RuntimeException: Internal error: Cannot find ObjectInspector for
> VARCHAR
--
This message was sent by Atlassian JIRA
(v6.1#6144)