spark-issues mailing list archives

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

             Summary: 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


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