anishshri-db commented on code in PR #52642:
URL: https://github.com/apache/spark/pull/52642#discussion_r2450419251


##########
docs/streaming/ss-migration-guide.md:
##########
@@ -23,6 +23,10 @@ Note that this migration guide describes the items specific 
to Structured Stream
 Many items of SQL migration can be applied when migrating Structured Streaming 
to higher versions.
 Please refer [Migration Guide: SQL, Datasets and 
DataFrame](../sql-migration-guide.html).
 
+## Upgrading from Structured Streaming 4.0 to 4.1
+
+- Since Spark 4.1, AQE is supported for stateless workloads, and it could 
affect the behavior of the query after upgrade (especially that AQE is turned 
on by default). Generally it works better, but you can turn off AQE via 
changing `spark.sql.adaptive.enabled` to `false` to restore the behavior if you 
see regression.

Review Comment:
   The wording seems a bit vague - should we add more detail around `Generally 
it works better` ?



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