[ https://issues.apache.org/jira/browse/HIVE-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2689: ------------------------------ Attachment: HIVE-2689.D1083.1.patch jonchang requested code review of "HIVE-2689 [jira] ObjectInspectorConverters cannot convert Void types to Array/Map/Struct types.". Reviewers: JIRA HIVE-XXXX: Null conversion 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) ... TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D1083 AFFECTED FILES ql/src/test/queries/clientpositive/null_cast.q ql/src/test/results/clientpositive/null_cast.q.out serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java MANAGE HERALD DIFFERENTIAL RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/2277/ Tip: use the X-Herald-Rules header to filter Herald messages in your client. > 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: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira