[
https://issues.apache.org/jira/browse/SPARK-38332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498293#comment-17498293
]
Apache Spark commented on SPARK-38332:
--------------------------------------
User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/35661
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]