Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.3.0
-
None
-
None
Description
Most of the Date UDF in Hive now are based on String instead of Date objects, and they have limited functionality compared with MySQL.
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_from-unixtime
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-add
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_date-sub
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_datediff
We should make it fully compliant with what MySQL offers.