This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 93d6cd058aa [MINOR][TESTS][DOCS] Fix instructions for running 
`AvroWriteBenchmark` from sbt
93d6cd058aa is described below

commit 93d6cd058aa20032b0d743d1f311514d48a1e47d
Author: Bruce Robbins <[email protected]>
AuthorDate: Fri Jan 20 10:54:25 2023 +0900

    [MINOR][TESTS][DOCS] Fix instructions for running `AvroWriteBenchmark` from 
sbt
    
    ### What changes were proposed in this pull request?
    
    In the instructions for running `AvroWriteBenchmark` from sbt, change the 
project name to avro.
    
    ### Why are the changes needed?
    
    The previous instructions were incorrect.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manually ran benchmark according to new instructions.
    
    Closes #39659 from bersprockets/avro_bench_inst.
    
    Authored-by: Bruce Robbins <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 .../org/apache/spark/sql/execution/benchmark/AvroWriteBenchmark.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/connector/avro/src/test/scala/org/apache/spark/sql/execution/benchmark/AvroWriteBenchmark.scala
 
b/connector/avro/src/test/scala/org/apache/spark/sql/execution/benchmark/AvroWriteBenchmark.scala
index 585ef8f361b..d1db290f34b 100644
--- 
a/connector/avro/src/test/scala/org/apache/spark/sql/execution/benchmark/AvroWriteBenchmark.scala
+++ 
b/connector/avro/src/test/scala/org/apache/spark/sql/execution/benchmark/AvroWriteBenchmark.scala
@@ -30,7 +30,7 @@ import org.apache.spark.storage.StorageLevel
  *        --jars <spark core test jar>,<spark catalyst test jar>,
   *              <spark sql test jar>,<spark avro jar>
  *        <spark avro test jar>
- *   2. build/sbt "sql/Test/runMain <this class>"
+ *   2. build/sbt "avro/Test/runMain <this class>"
  *   3. generate result: SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt 
"avro/Test/runMain <this class>"
  *      Results will be written to "benchmarks/AvroWriteBenchmark-results.txt".
  *  }}}


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

Reply via email to