cloud-fan commented on code in PR #52642:
URL: https://github.com/apache/spark/pull/52642#discussion_r2463840301


##########
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 since AQE is turned 
on by default). In general, it helps to achieve better performance including 
resolution of skewed partition, but you can turn off AQE via changing 
`spark.sql.adaptive.enabled` to `false` to restore the behavior if you see 
regression.

Review Comment:
   shall we have a dedicated config for streaming AQE? It seems overkill to 
turn off AQE entirely.



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