Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29200

Optimize `extract`/`date_part` for epoch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              maxgekk Max Gekk
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: