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

Lefty Leverenz commented on HIVE-13248:
---------------------------------------

Doc note:  The wiki needs to be updated (with version information) for 
date_add, date_sub, and to_date.

* [Hive Operators and UDFs -- Date Functions | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions]

Added a TODOC2.2 label.

> Change date_add/date_sub/to_date functions to return Date type rather than 
> String
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-13248
>                 URL: https://issues.apache.org/jira/browse/HIVE-13248
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>              Labels: TODOC2.2
>             Fix For: 2.2.0
>
>         Attachments: HIVE-13248.1.patch, HIVE-13248.2.patch, 
> HIVE-13248.3.patch, HIVE-13248.4.patch
>
>
> Some of the original "date" related functions return string values rather 
> than Date values, because they were created before the Date type existed in 
> Hive. We can try to change these to return Date in the 2.x line.
> Date values should be implicitly convertible to String.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to