GitHub user wangyum opened a pull request:

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

    [SPARK-25664][SQL][TEST] Refactor JoinBenchmark to use main method

    ## What changes were proposed in this pull request?
    
    Refactor `JoinBenchmark` to use main method.
    1. use `spark-submit`:
    ```console
    bin/spark-submit --class  
org.apache.spark.sql.execution.benchmark.JoinBenchmark --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
    ```
    
    2. Generate benchmark result:
    ```console
    SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "sql/test:runMain 
org.apache.spark.sql.execution.benchmark.JoinBenchmark"
    ```
    
    ## 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-25664

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

    https://github.com/apache/spark/pull/22661.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 #22661
    
----
commit 4339b1cbc5de7e54a7cd5be818fcf3dab249a351
Author: Yuming Wang <yumwang@...>
Date:   2018-10-07T08:34:54Z

    Refactor JoinBenchmark

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to