GitHub user heary-cao opened a pull request: https://github.com/apache/spark/pull/22845
[SPARK-25848][SQL][TEST] Refactor CSVBenchmarks to use main method ## What changes were proposed in this pull request? use spark-submit: bin/spark-submit --class org.apache.spark.sql.execution.datasources.csv.CSVBenchmarks --jars ./core/target/spark-core_2.11-3.0.0-SNAPSHOT-tests.jar ./sql/catalyst/target/spark-sql_2.11-3.0.0-SNAPSHOT-tests.jar Generate benchmark result: SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "sql/test:runMain org.apache.spark.sql.execution.datasources.csv.CSVBenchmarks" ## How was this patch tested? manual tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/heary-cao/spark CSVBenchmarks Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22845.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 #22845 ---- commit 9ddb8476544fa34b15fbe15387e1b4983d4d76d4 Author: caoxuewen <cao.xuewen@...> Date: 2018-10-26T04:07:48Z Refactor CSVBenchmarks to use main method ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org