GitHub user seancxmao opened a pull request:
https://github.com/apache/spark/pull/22497
[SPARK-25487][SQL][TEST] Refactor PrimitiveArrayBenchmark
## What changes were proposed in this pull request?
Refactor PrimitiveArrayBenchmark to use main method and print the output as
a separate file.
Run blow command to generate benchmark results:
```
SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "sql/test:runMain
org.apache.spark.sql.execution.benchmark.PrimitiveArrayBenchmark"
```
## How was this patch tested?
Manual tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/seancxmao/spark SPARK-25487
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22497.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 #22497
commit 631df4b1944c73a4c63b7dcb9873358671a07baf
Author: seancxmao
Date: 2018-09-20T14:48:21Z
[SPARK-25487][SQL][TEST] Refactor PrimitiveArrayBenchmark
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org