[ https://issues.apache.org/jira/browse/HIVE-313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao updated HIVE-313: ---------------------------- Attachment: HIVE-313.2.patch Incorporated comments from Raghu. All dates are parsed as UTC now to avoid daylight saving problem. I didn't put the data to the table though - we have been doing testing with constants for almost all UDFs till now. And these UDF functions are simple enough so I don't see much difference between testing with constants and with data from table. > add UDF date_add, date_sub, datediff > ------------------------------------ > > Key: HIVE-313 > URL: https://issues.apache.org/jira/browse/HIVE-313 > Project: Hadoop Hive > Issue Type: New Feature > Components: Query Processor > Reporter: Zheng Shao > Attachments: HIVE-313.1.patch, HIVE-313.2.patch > > > See > http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-add > See > http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-sub > See > http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_datediff -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.