hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5648) error when casting partition column to varchar in where clause
Date Fri, 25 Oct 2013 08:33:30 GMT

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

Jason Dere commented on HIVE-5648:
----------------------------------

However, returning the default OI for qualified types is not desirable and should be avoided
whenever possible, thus fix in the v1 patch is still included.

> 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-5648.2.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)

Mime
View raw message