spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuming Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-21032) Support add_years and add_days functions
Date Fri, 09 Jun 2017 12:07:20 GMT

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message