[ 
https://issues.apache.org/jira/browse/HIVE-9766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345524#comment-14345524
 ] 

Ashutosh Chauhan commented on HIVE-9766:
----------------------------------------

Since all columns are nullable, we need to worry about null values. For that 
you either need to make null checks in get() calls or need to make sure all 
object holding values (like IntWritable, DateWritable etc.) don't bork if 
supplied with null values.

> Add JavaConstantXXXObjectInspector
> ----------------------------------
>
>                 Key: HIVE-9766
>                 URL: https://issues.apache.org/jira/browse/HIVE-9766
>             Project: Hive
>          Issue Type: Improvement
>          Components: Serializers/Deserializers
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>         Attachments: HIVE-9766.1.patch
>
>
> Need JavaConstantXXXObjectInspector when implementing PIG-3294. There are two 
> approaches:
> 1. Add those classes in Pig. However, most construct of the base class 
> JavaXXXObjectInspector is default scope, need to change them to protected
> 2. Add those classes in Hive
> Approach 2 should be better since those classes might be useful to Hive as 
> well. Attach a patch to provide them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to