[ https://issues.apache.org/jira/browse/HIVE-13745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473273#comment-16473273 ]
Yongzhi Chen commented on HIVE-13745: ------------------------------------- [~kgyrtkirk]The major reason to use HiveConf is not calling System.currentTimeMillis, it is to use the time value set in SessionState. The System.currentTimeMillis is only called when the SessionState has not set time value yet which is consistent with original behavior(without the fix). I do not see any issue from that. > 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 > Priority: Major > Attachments: HIVE-13745.1.patch, HIVE-13745.2-brach-2.patch, > HIVE-13745.patch > > > NullPointerException when current_date is used in mapreduce -- This message was sent by Atlassian JIRA (v7.6.3#76005)