You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/07/10 18:48:10 UTC

[jira] [Commented] (HIVE-13745) UDF current_date、current_timestamp、unix_timestamp NPE

    [ 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)