[
https://issues.apache.org/jira/browse/HIVE-5202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777399#comment-13777399
]
Hudson commented on HIVE-5202:
------------------------------
FAILURE: Integrated in Hive-trunk-hadoop1-ptest #181 (See
[https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/181/])
HIVE-5202 : Support for SettableUnionObjectInspector and implement
isSettable/hasAllFieldsSettable APIs for all data types. (Hari Sankar via
Ashutosh Chauhan) (hashutosh:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1525804)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java
*
/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableUnionObjectInspector1.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe4.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe5.java
* /hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat18.q
*
/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat18.q.out
*
/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java
*
/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java
*
/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/SettableUnionObjectInspector.java
*
/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/StandardUnionObjectInspector.java
> Support for SettableUnionObjectInspector and implement
> isSettable/hasAllFieldsSettable APIs for all data types.
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-5202
> URL: https://issues.apache.org/jira/browse/HIVE-5202
> Project: Hive
> Issue Type: Bug
> Reporter: Hari Sankar Sivarama Subramaniyan
> Assignee: Hari Sankar Sivarama Subramaniyan
> Fix For: 0.13.0
>
> Attachments: HIVE-5202.2.patch.txt, HIVE-5202.patch
>
>
> These 3 tasks should be accomplished as part of the following jira:
> 1. The current implementation lacks settable union object inspector. We can
> run into exception inside ObjectInspectorConverters.getConvertedOI() if there
> is a union.
> 2. Implement the following public functions for all datatypes:
> isSettable()-> Perform shallow check to see if an object inspector is
> inherited from settableOI type and
> hasAllFieldsSettable() -> Perform deep check to see if this objectInspector
> and all the underlying object inspectors are inherited from settableOI type.
> 3. ObjectInspectorConverters.getConvertedOI() is inefficient. Once (1) and
> (2) are implemented, add the following check: outputOI.hasAllSettableFields()
> should be added to return outputOI immediately if the object is entirely
> settable in order to prevent redundant object instantiation.
--
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