hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5648) error when casting partition column to varchar in where clause
Date Mon, 28 Oct 2013 21:46:32 GMT

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

Hudson commented on HIVE-5648:
------------------------------

ABORTED: Integrated in Hive-trunk-hadoop2 #526 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/526/])
HIVE-5648 : error when casting partition column to varchar in where clause (Jason Dere via
Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1536471)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeConstantDesc.java
* /hive/trunk/ql/src/test/queries/clientpositive/partition_varchar2.q
* /hive/trunk/ql/src/test/results/clientpositive/partition_varchar2.q.out
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorFactory.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoFactory.java
* /hive/trunk/serde/src/test/org/apache/hadoop/hive/serde2/objectinspector/primitive/TestPrimitiveObjectInspectorFactory.java


> 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
>             Fix For: 0.13.0
>
>         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