[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-24 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-5202:
---

   Resolution: Fixed
Fix Version/s: 0.13.0
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Hari!

 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-20 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:


Attachment: HIVE-5202.patch

 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
 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-19 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:


Status: In Progress  (was: Patch Available)

 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
 Attachments: HIVE-5202.2.patch.txt


 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-19 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:


Status: Patch Available  (was: In Progress)

 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
 Attachments: HIVE-5202.2.patch.txt


 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-18 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:


Attachment: HIVE-5202.1.patch.txt

Waiting for the unit tests to complete. 

Done:
1. Add support for isSettable() in ObjectInspector
2. Rewrote ObjectorInspectorConverters.getConvertedOI() to include caching and 
hence the performance
3. Added support for settableUnionObjectInspector

Pending:
1. Unit tests
2. Test cases for Union embedded within non-primitive data types for 
partitioned/non-partitioned serdes.
3. Will upload the RB Link once unit tests pass.

 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
 Attachments: HIVE-5202.1.patch.txt


 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-18 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:


Status: Patch Available  (was: In Progress)

 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
 Attachments: HIVE-5202.1.patch.txt


 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-18 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:


Attachment: (was: HIVE-5202.1.patch.txt)

 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()- 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-18 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:


Attachment: HIVE-5202.2.patch.txt

 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
 Attachments: HIVE-5202.2.patch.txt


 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-18 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan updated HIVE-5202:


Status: Patch Available  (was: Open)

 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
 Attachments: HIVE-5202.2.patch.txt


 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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-16 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

 [ 
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


[jira] [Updated] (HIVE-5202) Support for SettableUnionObjectInspector and implement isSettable/hasAllFieldsSettable APIs for all data types.

2013-09-16 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

 [ 
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()- 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.  

  was:
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.  


 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()- 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