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

Ashutosh Chauhan commented on HIVE-13745:
-----------------------------------------

[~bill] Instead of storing timestamp in config, I think better approach is to 
store Timestamp value in constructor  of udfs. That way when its deserialized 
on backend later we can use value of compile time.

> 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: Biao Wu
>         Attachments: HIVE-13745.patch
>
>
> NullPointerException when current_date is used in mapreduce



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

Reply via email to