Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/22651#discussion_r223187048
--- Diff:
sql/catalyst/src/test/scala/org/apache/spark/sql/HashBenchmark.scala ---
@@ -26,94 +26,85 @@ import org.apache.spark.sql.types._
/**
* Benchmark for the previous interpreted hash
function(InternalRow.hashCode) vs codegened
* hash expressions (Murmur3Hash/xxHash64).
+ * To run this benchmark:
+ * {{{
+ * 1. without sbt: bin/spark-submit --class <this class> <spark sql test
jar>
+ * 2. build/sbt "sql/test:runMain <this class>"
+ * 3. generate result: SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt
"sql/test:runMain <this class>"
--- End diff --
ditto.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]