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

Guy Doulberg commented on HIVE-649:
-----------------------------------

Hey,
I can think of a problem with the current suggestion.
Consider this scenario:

 A job is running on two days (start at 23:59 and ends at 00:03 ), in that case 
we can't know what will be the value of the now. will it be the start time or 
the end time.

Can we set the value of now before the job is submitted? and in the UDF use 
that value?

 

> [UDF] now() for getting current time
> ------------------------------------
>
>                 Key: HIVE-649
>                 URL: https://issues.apache.org/jira/browse/HIVE-649
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>            Reporter: Min Zhou
>         Attachments: HIVE-649.patch
>
>
> http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_now

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to