Details
Description
quarter(timestamp): int
Returns the quarter of the year for a date, timestamp, or string in the range 1 to 4. Example: quarter('2015-04-08') = 2.
Note that through implicit type casts, we can support date/string type as well.
Attachments
Issue Links
- relates to
-
SPARK-8864 Date/time function and data type design
- Resolved
- links to