Max Gekk created SPARK-38332:
--------------------------------
Summary: 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
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]