[SPARK-58520][SQL] Document dynamic table options in SQL reference - #57724
Open
marcuslin123 wants to merge 1 commit into
Open
[SPARK-58520][SQL] Document dynamic table options in SQL reference#57724marcuslin123 wants to merge 1 commit into
marcuslin123 wants to merge 1 commit into
Conversation
Contributor
|
@peter-toth - This is PR that adds options syntax to existing DMLs in docs.. Please take a look. |
szehon-ho
reviewed
Aug 3, 2026
|
|
||
| #### Insert Into | ||
|
|
||
| ##### Insert Using Dynamic Table Options |
Member
There was a problem hiding this comment.
nit: can we put it towards the end ? Its more a speciality so I feel shouldn't be the first one.
| +--+------+-----+ | ||
| ``` | ||
|
|
||
| #### Merge Using Dynamic Table Options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Document the
WITH (key = value)dynamic table options clause in the SQL reference pages for:INSERT TABLEMERGE INTOSELECTEach page now includes the clause in its syntax, explains how the options are passed to the data
source connector, and provides an example. The
MERGE INTOdocumentation distinguishes targetwrite options from source read options.
Why are the changes needed?
Spark supports dynamic table options for these statements, but their SQL reference pages did not
document the syntax. Users therefore had to discover the feature through implementation code or
tests.
Does this PR introduce any user-facing change?
No. This is a documentation-only change for existing SQL functionality.
How was this patch tested?
This is a documentation-only change. The changed files pass
git diff --check, and their Markdowncode fences were checked for balance. 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.