[ 
https://issues.apache.org/jira/browse/SPARK-28687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-28687.
-----------------------------------
    Resolution: Fixed

Issue resolved by pull request 25408
[https://github.com/apache/spark/pull/25408]

> Support `epoch`, `isoyear`, `milliseconds` and `microseconds` at `extract()`
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-28687
>                 URL: https://issues.apache.org/jira/browse/SPARK-28687
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Currently, we support these field for EXTRACT: CENTURY, MILLENNIUM, DECADE, 
> YEAR, QUARTER, MONTH, WEEK, DAY, DAYOFWEEK, HOUR, MINUTE, SECOND, DOW, 
> ISODOW, DOY, 
> We also need support: EPOCH, MICROSECONDS, MILLISECONDS, TIMEZONE, 
> TIMEZONE_M, TIMEZONE_H, ISOYEAR.
> https://www.postgresql.org/docs/11/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to