ulysses-you commented on code in PR #40589:
URL: https://github.com/apache/spark/pull/40589#discussion_r1154046952


##########
sql/core/src/test/scala/org/apache/spark/sql/SparkSessionExtensionSuite.scala:
##########
@@ -1161,3 +1177,12 @@ object AddLimit extends Rule[LogicalPlan] {
     case _ => Limit(Literal(1), plan)
   }
 }
+
+object FailWithAQEShuffleRead extends Rule[SparkPlan] {

Review Comment:
   OK, thinking a new rule `RequireAtLeaseTwoPartitions` that would revert 
`AQEShuffleReadExec` if it only has one partition.



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