This CostBasedOptimizerSuite sample failure shows that Spark does not recognize GPU partitioning. This is probably not related to CBO and is probably showing up because this test does not disable AQE and most of our tests do.
- Avoid transition to GPU for trivial projection after CPU SMJ *** FAILED ***
java.lang.IllegalStateException: Unexpected partitioning for coalesced shuffle read: gpuhashpartitioning(strings#7, 200)
at org.apache.spark.sql.execution.adaptive.AQEShuffleReadExec.outputPartitioning$lzycompute(AQEShuffleReadExec.scala:86)
at org.apache.spark.sql.execution.adaptive.AQEShuffleReadExec.outputPartitioning(AQEShuffleReadExec.scala:55)
at org.apache.spark.sql.execution.exchange.ValidateRequirements$.$anonfun$validateInternal$4(ValidateRequirements.scala:61)
at org.apache.spark.sql.execution.exchange.ValidateRequirements$.$anonfun$validateInternal$4$adapted(ValidateRequirements.scala:59)
Steps/Code to reproduce bug
Run CostBasedOptimizerSuite
Expected behavior
Tests should pass
Environment details (please complete the following information)
N/A
Describe the bug
This
CostBasedOptimizerSuite
sample failure shows that Spark does not recognize GPU partitioning. This is probably not related to CBO and is probably showing up because this test does not disable AQE and most of our tests do.Steps/Code to reproduce bug Run CostBasedOptimizerSuite
Expected behavior Tests should pass
Environment details (please complete the following information) N/A
Additional context N/A