GitHub user wangyum opened a pull request:
https://github.com/apache/spark/pull/22651
[SPARK-25488][SQL][TEST] Refactor HashBenchmark to use main method
## What changes were proposed in this pull request?
Refactor `HashBenchmark` to use main method.
Generate benchmark result:
```
SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "catalyst/test:runMain
org.apache.spark.sql.HashBenchmark"
```
## How was this patch tested?
integration tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangyum/spark SPARK-25657
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22651.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22651
----
commit 53e3b7bf68ebc4dc66c5a6f1a8321ce39683cff1
Author: Yuming Wang <yumwang@...>
Date: 2018-10-06T07:29:28Z
refactor HashBenchmark
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]