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

Reply via email to