[ https://issues.apache.org/jira/browse/HIVE-649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Francke updated HIVE-649: ------------------------------ Attachment: HIVE-649.2.patch I've taken the liberty to work on this a bit but I'm not too confident. * I'm returning a TIMESTAMP instead of a String * I'm assigning NOW in the constructor ** UDF instances will still be started at different times so now() won't be consistent. I'm not sure if I could get a better timestamp of when the job started using a GenericUDF > [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.2.patch, HIVE-649.patch > > > http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_now -- This message was sent by Atlassian JIRA (v6.3.4#6332)