Details
Description
year(timestamp time): int
Returns the year part of a date or a timestamp string: year("1970-01-01 00:00:00") = 1970, year("1970-01-01") = 1970.
Attachments
Attachments
Issue Links
- relates to
-
SPARK-8864 Date/time function and data type design
- Resolved
- links to