You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/10/06 00:52:39 UTC
[GitHub] [spark] dongjoon-hyun commented on a diff in pull request #38114: [SPARK-40669][SQL][TESTS] Parameterize `rowsNum` in `InMemoryColumnarBenchmark`
dongjoon-hyun commented on code in PR #38114:
URL: https://github.com/apache/spark/pull/38114#discussion_r988462349
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/columnar/InMemoryColumnarBenchmark.scala:
##########
@@ -59,8 +60,9 @@ object InMemoryColumnarBenchmark extends SqlBasedBenchmark {
}
override def runBenchmarkSuite(mainArgs: Array[String]): Unit = {
+ val rowsNum = if (mainArgs.length > 0) mainArgs(0).toLong else 1000000
runBenchmark("Int In-memory") {
Review Comment:
Yes, I added it to the PR title.
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/columnar/InMemoryColumnarBenchmark.scala:
##########
@@ -59,8 +60,9 @@ object InMemoryColumnarBenchmark extends SqlBasedBenchmark {
}
override def runBenchmarkSuite(mainArgs: Array[String]): Unit = {
+ val rowsNum = if (mainArgs.length > 0) mainArgs(0).toLong else 1000000
runBenchmark("Int In-memory") {
Review Comment:
Ah, do you mean `benchmark` title? Got it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org