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

Extend `EXTRACT` benchmark

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Extend `ExtractBenchmark` and add new ones for:

      • `EXTRACT` and `DATE` as input column
      • the `DATE_PART` function and `DATE`/`TIMESTAMP` input column

      Some of sub-expressions of `EXTRACT` and `DATE_PART` take `DATE` column as the input (`Millennium`, `Year` and etc.) but others require `TIMESTAMP` column (`Hour`, `Minute`). Separate benchmarks for `DATE` should exclude overhead of implicit conversions `DATE` <-> `TIMESTAMP`.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                maxgekk Maxim Gekk
                Reporter:
                maxgekk Maxim Gekk
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: