hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.
Date Sat, 25 Apr 2015 07:15:38 GMT

     [ https://issues.apache.org/jira/browse/HIVE-5202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:
----------------------------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Improvement
>            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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message