longvu-db opened a new pull request, #56370:
URL: https://github.com/apache/spark/pull/56370

   ### What changes were proposed in this pull request?
   
   [SPARK-54971](https://issues.apache.org/jira/browse/SPARK-54971) (#53732) 
added the `WITH SCHEMA EVOLUTION` syntax to the SQL `INSERT` command, but did 
not add user-facing documentation for it. This PR documents the new clause on 
the `INSERT TABLE` SQL reference page 
(`docs/sql-ref-syntax-dml-insert-table.md`):
   
   - Adds the optional `[ WITH SCHEMA EVOLUTION ]` clause to both syntax forms, 
mirroring the grammar where the clause appears right after `INSERT` and before 
`INTO` / `OVERWRITE`.
   - Adds a `WITH SCHEMA EVOLUTION` entry to the Parameters section describing 
the behavior.
   
   ### Why are the changes needed?
   
   The `WITH SCHEMA EVOLUTION` syntax for SQL `INSERT` was introduced without 
documentation. This page is the reference for the `INSERT` statement, so the 
new clause should be documented there.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Documentation-only update.
   
   ### How was this patch tested?
   
   Docs-only change. Reviewed the rendered Markdown for correctness.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Anthropic)


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