You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/04/04 09:23:00 UTC
[jira] [Updated] (SPARK-38332) Add the `DATEADD()` alias for `TIMESTAMPADD()`
[ https://issues.apache.org/jira/browse/SPARK-38332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk updated SPARK-38332:
-----------------------------
Epic Link: SPARK-38783
> Add the `DATEADD()` alias for `TIMESTAMPADD()`
> ----------------------------------------------
>
> Key: SPARK-38332
> URL: https://issues.apache.org/jira/browse/SPARK-38332
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Max Gekk
> Assignee: Max Gekk
> Priority: Major
> Fix For: 3.3.0
>
>
> Introduce the dateadd() function, which takes three arguments: unit, number of units and datetime expression, i.e.,
> {code:sql}
> dateadd(unit, number_of_units, expr)
> {code}
> The function can be an alias to timestampadd().
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org