ericm-db opened a new pull request, #60266: URL: https://github.com/apache/spark/pull/60266
### What changes were proposed in this pull request? This is one of four PRs that let `DataStreamReader.name()` and SQL `IDENTIFIED BY` turn on streaming source evolution for a query without the internal config `spark.sql.streaming.queryEvolution.enableSourceEvolution`. They are meant to land together, in order: 1. SPARK-61309: check source names against the checkpoint before creating sources (#60263) 2. SPARK-61310: decide source evolution once per query run (#60264) 3. SPARK-61311: enable source evolution for queries that name a source (#60265) 4. SPARK-61312: docs (this PR) This PR is stacked on #60265; only its last commit is new. The Scala and Python docs of `DataStreamReader.name()` now say that naming a source enables source evolution for its query, and what that requires. The doc of `spark.sql.streaming.queryEvolution.enableSourceEvolution` now says that it forces source evolution for every streaming query in the session. ### Why are the changes needed? The docs did not mention that naming a source enables source evolution, and the config's doc still described it as the only way to name sources. ### Does this PR introduce _any_ user-facing change? No, documentation only. ### How was this patch tested? `dev/lint-scala` (scalastyle and scalafmt), and `build/sbt catalyst/compile`. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5) This pull request and its description were written by Isaac. -- 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]
