[
https://issues.apache.org/jira/browse/SPARK-8185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583058#comment-14583058
]
Apache Spark commented on SPARK-8185:
-------------------------------------
User 'adrian-wang' has created a pull request for this issue:
https://github.com/apache/spark/pull/6782
> date/time function: datediff
> ----------------------------
>
> Key: SPARK-8185
> URL: https://issues.apache.org/jira/browse/SPARK-8185
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
>
> datediff(date enddate, date startdate): int
> Returns the number of days from startdate to enddate: datediff('2009-03-01',
> '2009-02-27') = 2.
> See https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]