Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-35315][TESTS] Keep benchmark result consistent between spark-s…
…ubmit and SBT ### What changes were proposed in this pull request? Set `IS_TESTING` to true in `BenchmarkBase`, before running benchmarks. ### Why are the changes needed? Currently benchmark can be done via 2 ways: `spark-submit`, or SBT command. However in the former Spark will miss some properties such as `IS_TESTING`, which is necessary to turn on/off certain behavior like codegen (`spark.sql.codegen.factoryMode`). Therefore, the result could differ between the two. In addition, the benchmark GitHub workflow is using the spark-submit approach. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? N/A Closes apache#32440 from sunchao/SPARK-35315. Authored-by: Chao Sun <[email protected]> Signed-off-by: Yuming Wang <[email protected]>
- Loading branch information