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

Yongzhi Chen commented on HIVE-13745:
-------------------------------------

The jira held open for so long because of we can not reproduce. But the NPE is 
really happening. We see 3+ cases. The NPE related to 
https://issues.apache.org/jira/browse/HIVE-10728 , one way to workaround NPE is 
to revert this fix. It may relate to constant propagation and some random 
behavior of SessionState. The patch of HIVE-13745 only adds extra Null checks, 
it brings no risk, and may have some potential benefits. 

The test failures are not related. 

> UDF current_date、current_timestamp、unix_timestamp NPE
> -----------------------------------------------------
>
>                 Key: HIVE-13745
>                 URL: https://issues.apache.org/jira/browse/HIVE-13745
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Biao Wu
>            Assignee: Yongzhi Chen
>            Priority: Major
>         Attachments: HIVE-13745.1.patch, HIVE-13745.2-branch-2.patch, 
> HIVE-13745.patch
>
>
> NullPointerException when current_date is used in mapreduce



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to