GitHub user wangyum opened a pull request:
https://github.com/apache/spark/pull/22652
[SPARK-25658][SQL][TEST] Refactor HashByteArrayBenchmark to use main method
## What changes were proposed in this pull request?
Refactor `HashByteArrayBenchmark` to use main method.
Generate benchmark result:
```
SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "catalyst/test:runMain
org.apache.spark.sql.HashByteArrayBenchmark"
```
## How was this patch tested?
manual tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangyum/spark SPARK-25658
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22652.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 #22652
----
commit 3e6a058642043c9ed948da0c364ff8cfa005b4e6
Author: Yuming Wang <yumwang@...>
Date: 2018-10-06T07:50:43Z
refactor HashByteArrayBenchmark
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]