anew opened a new pull request, #56419: URL: https://github.com/apache/spark/pull/56419
### What changes were proposed in this pull request? Add SQL syntax for AUTO CDC (Change Data Capture) with SCD Type 1 semantics. Two forms are supported: 1. CREATE FLOW <name> AS AUTO CDC INTO <target> FROM <source> KEYS (...) SEQUENCE BY <expr> 2. CREATE [OR REFRESH] STREAMING TABLE <name> FLOW AUTO CDC FROM <source> KEYS (...) SEQUENCE BY <expr> Optional clauses: APPLY AS DELETE WHEN, COLUMNS, COLUMNS * EXCEPT. ### Why are the changes needed? So farm, there is only a Python API for Auto CDC; this adds a SQL API. ### Does this PR introduce _any_ user-facing change? Yes, it adds a new SQL syntax ### How was this patch tested? New tests are added: AutoCdcParserSuite ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Opus 4.6 -- 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]
