[
https://issues.apache.org/jira/browse/SPARK-28598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-28598.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Issue resolved by pull request 25334
[https://github.com/apache/spark/pull/25334]
> Few date time manipulation functions does not provide versions supporting
> Column as input through the Dataframe API
> -------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-28598
> URL: https://issues.apache.org/jira/browse/SPARK-28598
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.3
> Reporter: Weichen Xu
> Assignee: Weichen Xu
> Priority: Minor
> Fix For: 3.0.0
>
>
> We need add such functions like:
> {code}
> def add_months(startDate: Column, numMonths: Column)
> def date_add(start: Column, days: Column): Column
> def date_sub(start: Column, days: Column): Column
> {code}
> so that the `numMonth`/`days` args could be column or sql expressions.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]