GitHub user heary-cao opened a pull request:

    https://github.com/apache/spark/pull/22844

    [SPARK-25847][SQL][TEST] Refactor JSONBenchmarks to use main method

    ## What changes were proposed in this pull request?
    
    Refactor JSONBenchmarks to use main method
    
    use spark-submit:
    bin/spark-submit --class  
org.apache.spark.sql.execution.datasources.json.JSONBenchmarks --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.json.JSONBenchmarks"
      
    
    ## 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 JSONBenchmarks

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22844.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 #22844
    
----
commit 937111f7f53744c8fe1a6b4fd0559643743eefae
Author: caoxuewen <cao.xuewen@...>
Date:   2018-10-26T03:52:31Z

    Refactor JSONBenchmarks to use main method

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to