Chaoyu Tang created HIVE-6059:
---------------------------------

             Summary: Add union type support in LazyBinarySerDe
                 Key: HIVE-6059
                 URL: https://issues.apache.org/jira/browse/HIVE-6059
             Project: Hive
          Issue Type: New Feature
          Components: File Formats
    Affects Versions: 0.12.0
            Reporter: Chaoyu Tang


We need the support to type union in LazyBinarySerDe, which is required to the 
join query with any union types in its select values. The reduce values in Join 
operation is serialized/deserialized using LazyBinarySerDe, otherwise we will 
see some errors like:
{code}
Caused by: java.lang.NullPointerException
at 
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.getStandardObjectInspector(ObjectInspectorUtils.java:106)
at 
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils.getStandardObjectInspector(ObjectInspectorUtils.java:156)
at 
org.apache.hadoop.hive.ql.exec.JoinUtil.getStandardObjectInspectors(JoinUtil.java:98)
at 
org.apache.hadoop.hive.ql.exec.CommonJoinOperator.initializeOp(CommonJoinOperator.java:261)
at 
org.apache.hadoop.hive.ql.exec.JoinOperator.initializeOp(JoinOperator.java:61)
at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:360)
at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:150)
{code}




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to