Maxim Gekk created SPARK-29065:
----------------------------------
Summary: Extend `EXTRACT` benchmark
Key: SPARK-29065
URL: https://issues.apache.org/jira/browse/SPARK-29065
Project: Spark
Issue Type: Test
Components: SQL
Affects Versions: 3.0.0
Reporter: Maxim Gekk
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`.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]