[ https://issues.apache.org/jira/browse/SPARK-44778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk resolved SPARK-44778. ------------------------------ Fix Version/s: 4.0.0 Resolution: Fixed Issue resolved by pull request 42435 [https://github.com/apache/spark/pull/42435] > Add the `TIMEDIFF` aliases for `TIMESTAMPDIFF()` > ------------------------------------------------ > > Key: SPARK-44778 > URL: https://issues.apache.org/jira/browse/SPARK-44778 > Project: Spark > Issue Type: New Feature > Components: SQL > Affects Versions: 4.0.0 > Reporter: Max Gekk > Assignee: Max Gekk > Priority: Major > Fix For: 4.0.0 > > > Introduce the timediff() function, which takes three arguments: unit, and two > datetime expressions, i.e., > {code:sql} > datediff(unit, startDatetime, endDatetime) > {code} > The function can be an alias to timestampdiff(). -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org