spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-28598) Few date time manipulation functions does not provide versions supporting Column as input through the Dataframe API
Date Mon, 19 Aug 2019 02:42:00 GMT

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


Mime
View raw message