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


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/InsertAdaptiveSparkPlan.scala:
##########
@@ -102,6 +103,8 @@ case class InsertAdaptiveSparkPlan(
         // update correctly.
         case i: InMemoryTableScanExec

Review Comment:
   They can have different configurations, it is a cornor case though, 
   1. people first tune `CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING` on and 
cache a plan
   2. people tune `CAN_CHANGE_CACHED_PLAN_OUTPUT_PARTITIONING` off and run that 
plan
   
   then if we remove this pattern, then it won't apply AQE for the execued 
plan..



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to