[ https://issues.apache.org/jira/browse/HIVE-5202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hari Sankar Sivarama Subramaniyan updated HIVE-5202: ---------------------------------------------------- Description: 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() and hasAllFieldsSettable() 3. ObjectInspectorConverters.getConvertedOI() is inefficient. Once (1) and (2) are implemented, the following check: outputOI.hasAllSettableFields() should be added to return outputOI immediately if the object is entirely settable inorder to prevent redundant object instantiation. was:The current implementation lacks settable union object inspector. We can run into exception inside ObjectInspectorConverters.getConvertedOI() if there is a union. Summary: Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types. (was: Support for SettableUnionObjectInspector) > 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 > > 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() > and hasAllFieldsSettable() > 3. ObjectInspectorConverters.getConvertedOI() is inefficient. Once (1) and > (2) are implemented, the following check: outputOI.hasAllSettableFields() > should be added to return outputOI immediately if the object is entirely > settable inorder 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