You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (Jira)" <ji...@apache.org> on 2019/09/21 09:28:00 UTC

[jira] [Created] (SPARK-29200) Optimize `extract`/`date_part` for epoch

Maxim Gekk created SPARK-29200:
----------------------------------

             Summary: Optimize `extract`/`date_part` for epoch
                 Key: SPARK-29200
                 URL: https://issues.apache.org/jira/browse/SPARK-29200
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Maxim Gekk


The method `DateTimeUtils.getEpoch()` can be speeded up by avoiding decimal operations and converting shifted by time zone timestamp to decimal at the end. Results of `ExtractBenchmark` should be regenerated as well.



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

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