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

Raghotham Murthy commented on HIVE-161:
---------------------------------------

ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeFieldEvaluator.java: 
Shouldnt you be returning the same thing whether the list is null or empty? 
right now, you are returning null in the first case and an empty list<Object> 
in the second case.

> for list column x that is sometimes null, select x.y will cause a 
> nullpointerexception
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-161
>                 URL: https://issues.apache.org/jira/browse/HIVE-161
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Venky Iyer
>            Assignee: Zheng Shao
>            Priority: Critical
>             Fix For: 0.2.0
>
>         Attachments: HIVE-161-2.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to