[
https://issues.apache.org/jira/browse/HIVE-13745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16471793#comment-16471793
]
Zoltan Haindrich commented on HIVE-13745:
-----------------------------------------
I don't think {{System.currentTimeMillis}} should be called from HiveConf...
I don't understand what positive side this could have to have it in the config;
if its ok to get it at the time the UDF is constructed.
I think it would be better to set a "pirate" property in Driver at the start of
the query execution and use that ; we already have a query timestamp for the
session Session
> 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)