DennisJLi opened a new pull request, #47914:
URL: https://github.com/apache/spark/pull/47914

   ### What changes were proposed in this pull request?
   
https://spark.apache.org/docs/latest/sql-migration-guide.html#upgrading-from-spark-sql-34-to-35
 states that `spark.sql.optimizer.canChangeCachedPlanOutputPartitioning` is set 
by default, but that's currently not true, and causes confusion along with lost 
debugging time.
   
   Notably, when working with cached dataframes in Spark 3.5.0, I saw AQE not 
working until I manually set the flag myself. 
   
   
   
   
   ### Why are the changes needed?
   This aligns the code with the documentation which prevents confusion. 
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, but nothing the documentation doesn't already state.
   
   
   ### How was this patch tested?
   Simple config change. 
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   NO
   


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