Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-48025][SQL][TESTS] Fix org.apache.spark.sql.execution.benchmar…
…k.DateTimeBenchmark ### What changes were proposed in this pull request? This PR fixes several issues in org.apache.spark.sql.execution.benchmark.DateTimeBenchmark - Misuse `trunc` function, a.k.a, the parameter order is wrong in reverse order - Some benchmarks not compatible with ANSI by default ### Why are the changes needed? restore benchmark cases ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? benchmark ### Was this patch authored or co-authored using generative AI tooling? no Closes apache#46261 from yaooqinn/SPARK-48025. Authored-by: Kent Yao <yao@apache.org> Signed-off-by: Kent Yao <yao@apache.org>
- Loading branch information