Description
Currently, we support these field for EXTRACT: YEAR, QUARTER, MONTH, WEEK, DAY, DAYOFWEEK, HOUR, MINUTE, SECOND.
We also need support: EPOCH, CENTURY, MILLENNIUM, DECADE, MICROSECONDS, MILLISECONDS, DOW, ISODOW, DOY, TIMEZONE, TIMEZONE_M, TIMEZONE_H, JULIAN, ISOYEAR.
https://www.postgresql.org/docs/11/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT
Attachments
Issue Links
- is a clone of
-
SPARK-28623 Support `dow`, `isodow` and `doy` at `extract()`
- Resolved
- is cloned by
-
SPARK-28687 Support `epoch`, `isoyear`, `milliseconds` and `microseconds` at `extract()`
- Resolved
- is related to
-
SPARK-23903 Add support for date extract
- Resolved
- links to