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-2689) ObjectInspectorConverters cannot convert Void types to Array/Map/Struct types.
Date Mon, 10 Dec 2012 20:17:22 GMT

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

Hudson commented on HIVE-2689:
------------------------------

Integrated in Hive-trunk-h0.21 #1848 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1848/])
    HIVE-2689 : ObjectInspectorConverters cannot convert Void types to Array/Map/Struct types.
(Jonathan Chang via Ashutosh Chauhan) (Revision 1419202)

     Result = FAILURE
hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1419202
Files : 
* /hive/trunk/ql/src/test/queries/clientpositive/null_cast.q
* /hive/trunk/ql/src/test/results/clientpositive/null_cast.q.out
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java

                
> ObjectInspectorConverters cannot convert Void types to Array/Map/Struct types.
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-2689
>                 URL: https://issues.apache.org/jira/browse/HIVE-2689
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jonathan Chang
>            Assignee: Jonathan Chang
>            Priority: Minor
>             Fix For: 0.11
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2689.D1083.1.patch
>
>
> In a bunch of places we rely on ObjectInspectorConverters to implicitly convert types.
 Unfortunately, an exception will needlessly be thrown if one of the types is a complex type
and the other is a void type.  For example,
> SELECT ARRAY(ARRAY(), NULL) ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message