Maxim Gekk created SPARK-31277:
----------------------------------

             Summary: 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


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