You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (JIRA)" <ji...@apache.org> on 2019/08/02 02:20:00 UTC
[jira] [Created] (SPARK-28598) Few date time manipulation functions
does not provide versions supporting Column as input through the Dataframe
API
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