funrollloops opened a new pull request, #59795: URL: https://github.com/apache/spark/pull/59795
### What changes were proposed in this pull request? This change refactors the ANTLR grammar for FROM STREAM to fix an existing inconsistency -- CHANGES is not supported with a parenthesized table name -- and prevent future inconsistencies. ### Why are the changes needed? Previously, ``` ... FROM STREAM t CHANGES .... ``` was accepted but ``` ... FROM STREAM (t) CHANGES .... ``` was not. ### Does this PR introduce _any_ user-facing change? Yes, the CHANGES clause may now be used with parenthesized STREAM sources. ### How was this patch tested? unittest ### Was this patch authored or co-authored using generative AI tooling? Yes, Codex was used to assist. Generated-by: Codex / GPT-5.6 Sol -- 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]
