Skip to content

[MINOR][DOCS] Fix typos in comments and docstrings across multiple files - #57182

Open
csj4032 wants to merge 1 commit into
apache:masterfrom
csj4032:minor-typo-fixes-comments
Open

csj4032 wants to merge 1 commit into
apache:masterfrom
csj4032:minor-typo-fixes-comments

Conversation

@csj4032

@csj4032 csj4032 commented Jul 10, 2026 •

Copy link
Copy Markdown

What changes were proposed in this pull request?

Fix typos and minor grammar errors in code comments, docstrings, and one test name across 14 files: 19 misspellings plus one duplicated word, for 20 changed lines. No identifier, API, or behavior changes.

Typos fixed:

Typo Fixed Spots
arbitary arbitrary 5
overriden overridden 4
dependant dependent 3
splitted split 2
propogate propagate 1
neccessary necessary 1
arguement argument 1
writen written 1
seperate separate 1
total 19

Adjacent grammar issues found during the same scan were fixed as well:

  • should overriden -> should be overridden (Client.scala)
  • will splitted -> will be split (TableReader.scala)
  • a duplicated the spanning two lines (DAGScheduler.scala) -- this is the 20th changed line, on top of the 19 misspellings above

One note on the diff, so it is easy to follow:

  • The @param confsToOverride line in Client.scala exceeds the 100-character limit once overriden becomes be overridden, so it is wrapped onto two lines. This is why the diff is +21/-20 rather than +20/-20.

Identifiers and public API names are deliberately left alone. For example AbstractFileRegion.transfered() and DataWritingCommand.propogateMetrics() carry the same misspelling but are method names, so renaming them is out of scope for a [MINOR][DOCS] change.

Why are the changes needed?

To improve readability and correctness of code comments and docstrings. Some of the fixes are in user-visible API docstrings (e.g. pyspark.pandas generic.py / groupby.py), where arbitary appears in rendered documentation.

Does this PR introduce any user-facing change?

No. Documentation/comment-only changes. The only rendered-output difference is the corrected spelling in the pandas-on-Spark docstrings noted above.

How was this patch tested?

No behavior change; existing CI.

Locally verified before pushing:

  • build/sbt -Pyarn -Pdocker-integration-tests compile plus scalastyle for core, catalyst, sql, hive, yarn, catalyst/Test and docker-integration-tests/Test -- 0 errors, 0 warnings.
  • ruff check and ruff format --check on the four changed Python files -- clean.

The only non-comment edit is a test name in CodeGenerationSuite.scala (splitted -> split), covered by the existing suite.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 4.8, Claude Opus 5)

@csj4032
csj4032 force-pushed the minor-typo-fixes-comments branch from 6076c57 to 31aa66c Compare October 14, 2026 04:21
@csj4032

csj4032 commented Oct 14, 2026

Copy link
Copy Markdown
Author

Rebased onto the latest master to resolve the merge conflict. The typo fixes in YarnAllocator.scala had already landed upstream, so that file has dropped out of the diff; the PR now touches 14 files, all comment/docstring-only changes with no code behavior change.

cc @dongjoon-hyun @LuciferYang @HyukjinKwon — would you mind taking a look when you have a moment? Thank you.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant