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

Wenchen Fan resolved SPARK-31277.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

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

> Migrate `DateTimeTestUtils` from `TimeZone` to `ZoneId`
> -------------------------------------------------------
>
>                 Key: SPARK-31277
>                 URL: https://issues.apache.org/jira/browse/SPARK-31277
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Currently, Spark SQL's date-time expressions and functions are ported on Java 
> 8 time API but tests still use old time APIs. In particular, 
> DateTimeTestUtils exposes functions that accept only TimeZone instances. This 
> is inconvenient, and CPU consuming because need to convert TimeZone instances 
> to ZoneId instances via strings (zone ids). The tickets aims to replace 
> TimeZone parameters of DateTimeTestUtils functions by ZoneId type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to