spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Gekk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-28596) Use Java 8 time API in date_trunc
Date Mon, 05 Aug 2019 07:29:00 GMT

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message