You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "LuciferYang (via GitHub)" <gi...@apache.org> on 2023/09/22 18:19:44 UTC

[GitHub] [spark] LuciferYang commented on pull request #40390: [SPARK-42768][SQL] Enable cached plan apply AQE by default

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-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