[ 
https://issues.apache.org/jira/browse/SPARK-28596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899834#comment-16899834
 ] 

Maxim Gekk commented on SPARK-28596:
------------------------------------

DateTimeBenchmark shows performance degradation up to 3 times on JDK 
1.8.0_202-b08. It would be nice to try new implementation from the PR 
https://github.com/apache/spark/pull/25329 on JDK11.

> Use Java 8 time API in date_trunc
> ---------------------------------
>
>                 Key: SPARK-28596
>                 URL: https://issues.apache.org/jira/browse/SPARK-28596
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.3
>            Reporter: Maxim Gekk
>            Priority: Minor
>
> The DateTimeUtils.truncTimestamp function can be fully implemented on top of 
> Java 8 time API by adjusting ZonedDateTime to year, month, ..., seconds.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to