Github user wangyum commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22844#discussion_r228832419
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json/JsonBenchmarks.scala
 ---
    @@ -16,32 +16,30 @@
      */
     package org.apache.spark.sql.execution.datasources.json
     
    -import java.io.File
    -
    -import org.apache.spark.SparkConf
     import org.apache.spark.benchmark.Benchmark
    -import org.apache.spark.sql.{Row, SparkSession}
    -import org.apache.spark.sql.catalyst.plans.SQLHelper
    +import org.apache.spark.sql.Row
    +import org.apache.spark.sql.execution.benchmark.SqlBasedBenchmark
     import org.apache.spark.sql.functions.lit
     import org.apache.spark.sql.types._
     
     /**
      * The benchmarks aims to measure performance of JSON parsing when 
encoding is set and isn't.
    - * To run this:
    - *  spark-submit --class <this class> --jars <spark sql test jar>
    + * To run this benchmark:
    + * {{{
    + *   1. without sbt:
    + *      bin/spark-submit --class <this class> --jars <spark core test jar> 
<spark sql test jar>
    --- End diff --
    
    Please update `without sbt` usage to:
    ```
    bin/spark-submit --class <this class> --jars <spark core test jar>,<spark 
catalyst test jar> <spark sql test jar>
    ```


---

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

Reply via email to