Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.0
-
None
Description
Introduce the datediff()/date_diff() 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
Attachments
Issue Links
- is a clone of
-
SPARK-38332 Add the `DATEADD()` alias for `TIMESTAMPADD()`
- Resolved
- is cloned by
-
SPARK-44778 Add the `TIMEDIFF` aliases for `TIMESTAMPDIFF()`
- Resolved
- links to