marcuslin123 opened a new pull request, #57725:
URL: https://github.com/apache/spark/pull/57725

   ### What changes were proposed in this pull request?
   
   Add SQL reference pages for the `UPDATE` and `DELETE FROM` statements. Both 
pages document:
   
   - statement syntax
   - table aliases
   - dynamic table options
   - assignment or filtering parameters
   - conditional and whole-table examples
   
   This PR also links the new pages from the SQL syntax index and adds them to 
the related statements
   on the `MERGE INTO` page.
   
   ### Why are the changes needed?
   
   Spark supports `UPDATE` and `DELETE FROM` for Data Source V2 tables, but the 
SQL reference did not
   have dedicated pages for either statement. Users therefore could not find 
their syntax, parameters,
   or examples alongside the other DML statements.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This is a documentation-only change for existing SQL functionality.
   
   ### How was this patch tested?
   
   The focused parser tests passed:
   
   ```text
   build/sbt 'catalyst/testOnly *DDLParserSuite -- -z "delete from table" -z 
"update table"'
   ```
   
   The run completed with 10 tests passed and no failures. The staged changes 
also pass
   `git diff --cached --check`, and the new Markdown links and code fences were 
checked locally.
   
   The full Jekyll build was not run because Bundler 2.4.22 is not installed in 
the environment.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI Codex (GPT-5) was used for general coding assistance.
   


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