caoxuewen created SPARK-25847:
---------------------------------

             Summary: Refactor JSONBenchmarks to use main method
                 Key: SPARK-25847
                 URL: https://issues.apache.org/jira/browse/SPARK-25847
             Project: Spark
          Issue Type: Improvement
          Components: SQL, Tests
    Affects Versions: 2.4.1
            Reporter: caoxuewen


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"
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to