GitHub user peter-toth opened a pull request:

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

    [SPARK-25665][SQL][TEST] Refactor ObjectHashAggregateExecBenchmark to…

    ## What changes were proposed in this pull request?
    
    Refactor ObjectHashAggregateExecBenchmark to use main method
    
    ## How was this patch tested?
    
    Manually tested:
    ```
    bin/spark-submit --class 
org.apache.spark.sql.execution.benchmark.ObjectHashAggregateExecBenchmark 
--jars 
sql/catalyst/target/spark-catalyst_2.11-3.0.0-SNAPSHOT-tests.jar,core/target/spark-core_2.11-3.0.0-SNAPSHOT-tests.jar,sql/hive/target/spark-hive_2.11-3.0.0-SNAPSHOT.jar
 --packages org.spark-project.hive:hive-exec:1.2.1.spark2 
sql/hive/target/spark-hive_2.11-3.0.0-SNAPSHOT-tests.jar
    ```
    Generated results with:
    ```
    SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "hive/test:runMain 
org.apache.spark.sql.execution.benchmark.ObjectHashAggregateExecBenchmark"
    ```
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/peter-toth/spark SPARK-25665

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

    https://github.com/apache/spark/pull/22804.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 #22804
    
----
commit cf2bb2c0bea88110d0b20347177bafa4f129499c
Author: Peter Toth <peter.toth@...>
Date:   2018-10-14T14:19:52Z

    [SPARK-25665][SQL][TEST] Refactor ObjectHashAggregateExecBenchmark 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