Description
Introduce the timediff() function, which takes three arguments: unit, and two datetime expressions, i.e.,
datediff(unit, startDatetime, endDatetime)
The function can be an alias to timestampdiff().
Attachments
Issue Links
- is a clone of
-
SPARK-38389 Add the `DATEDIFF` and `DATE_DIFF` aliases for `TIMESTAMPDIFF()`
-
- Resolved
-