Prabhas Kumar Samanta created HIVE-22851:
--------------------------------------------
Summary: lateral view outer inline cant not handle null value
Key: HIVE-22851
URL: https://issues.apache.org/jira/browse/HIVE-22851
Project: Hive
Issue Type: Bug
Reporter: Prabhas Kumar Samanta
When I tried to use LATERAL VIEW OUTER INLINE with null values, I got
ClassCastException exception. Following is simple way to reproduce the problem:
hive> describe st;
OK
id int
ls array<structcol1:string,col2:string>
hive> select * from st;
OK
1 NULL
hive> select * from st LATERAL VIEW OUTER INLINE([st.ls|http://st.ls/]) ly;
OK
Failed with exception java.io.IOException:java.lang.ClassCastException:
java.util.Arrays$ArrayList cannot be cast to
org.apache.hadoop.hive.serde2.StructObject
--
This message was sent by Atlassian Jira
(v8.3.4#803005)