LuciferYang commented on PR #40390:
URL: https://github.com/apache/spark/pull/40390#issuecomment-1731860178

   @ulysses-you I found that after this PR is merged, 
`InMemoryColumnarBenchmark` will fail to execute.
   
   ```
   build/sbt "sql/Test/runMain 
org.apache.spark.sql.execution.columnar.InMemoryColumnarBenchmark"
   ```
   
   ```
   [error] Exception in thread "main" java.lang.IndexOutOfBoundsException: 0
   [error]      at scala.collection.LinearSeqOps.apply(LinearSeq.scala:131)
   [error]      at scala.collection.LinearSeqOps.apply$(LinearSeq.scala:128)
   [error]      at scala.collection.immutable.List.apply(List.scala:79)
   [error]      at 
org.apache.spark.sql.execution.columnar.InMemoryColumnarBenchmark$.intCache(InMemoryColumnarBenchmark.scala:47)
   [error]      at 
org.apache.spark.sql.execution.columnar.InMemoryColumnarBenchmark$.$anonfun$runBenchmarkSuite$1(InMemoryColumnarBenchmark.scala:68)
   [error]      at 
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
   [error]      at 
org.apache.spark.benchmark.BenchmarkBase.runBenchmark(BenchmarkBase.scala:42)
   [error]      at 
org.apache.spark.sql.execution.columnar.InMemoryColumnarBenchmark$.runBenchmarkSuite(InMemoryColumnarBenchmark.scala:68)
   [error]      at 
org.apache.spark.benchmark.BenchmarkBase.main(BenchmarkBase.scala:72)
   [error]      at 
org.apache.spark.sql.execution.columnar.InMemoryColumnarBenchmark.main(InMemoryColumnarBenchmark.scala)
   [error] Nonzero exit code returned from runner: 1
   [error] (sql / Test / runMain) Nonzero exit code returned from runner: 1
   ```
   
   Should we run `InMemoryColumnarBenchmark` with the configuration 
`spark.sql.optimizer.canChangeCachedPlanOutputPartitioning=false`?
   
   


-- 
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-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to