You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2012/12/09 19:03:21 UTC

[jira] [Commented] (HIVE-2689) ObjectInspectorConverters cannot convert Void types to Array/Map/Struct types.

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

Ashutosh Chauhan commented on HIVE-2689:
----------------------------------------

+1 will commit if tests pass.
                
> 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
>         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