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

Yuming Wang commented on SPARK-21032:
-------------------------------------

Do we really need these functions?
{code:sql}
add_days('2017-06-09', 1) = DATE_ADD('2017-06-09', 1);
add_years('2017-06-09', 1) = ADD_MONTHS('2017-06-09', 12)
{code}

> Support add_years and add_days functions 
> -----------------------------------------
>
>                 Key: SPARK-21032
>                 URL: https://issues.apache.org/jira/browse/SPARK-21032
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.1.1
>            Reporter: darion yaphet
>
> Currently SparkSQL have add_months function and want to support add_years and 
> add_days . Maybe add_years and add_days are similar with  add_months . 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to