uros-b opened a new pull request, #57882:
URL: https://github.com/apache/spark/pull/57882

   ### What changes were proposed in this pull request?
   
   Fixes nine spelling and grammar errors in `docs/sql-ref-name-resolution.md`:
   
   - `precendece` to `precedence`
   - `Implict` to `Implicit`
   - `Successsful` to `Successful`
   - `raise a AMBIGUOUS_COLUMN_OR_FIELD` to `raise an ...`
   - `An fully qualified` to `A fully qualified`
   - `takes precedent` to `takes precedence`
   - `Columns and parameter win` to `Columns and parameters win`
   - `a column in table reference` to `a column in a table reference`
   - removes a stray comma in `takes precedence, over a lateral column alias`
   
   ### Why are the changes needed?
   
   Most of these are proven wrong by the same file writing the phrase correctly 
elsewhere: it already has `raise an AMBIGUOUS_COLUMN_OR_FIELD` twice, `a column 
name in a table reference`, the adjacent `A partially qualified` and `An 
unqualified`, and `takes precedence over` seven times without a comma. `takes 
precedent` is the function-resolution example where a temporary function wins 
over a persistent one, so `precedence` is what was meant.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, other than the corrected documentation.
   
   ### How was this patch tested?
   
   Documentation only. No error condition name, SQL keyword, identifier, or 
expected example output is touched: six of the fixes are on `--` comment lines 
inside SQL example blocks, and `AMBIGUOUS_COLUMN_OR_FIELD` itself is unchanged 
(only the preceding article). Indentation of the nested list is byte-identical.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.8)
   


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