Skip to content

Conversation

@waynexia
Copy link
Member

Which issue does this PR close?

Rationale for this change

Add a CI job to check typo (we got four new typos in these two weeks XD)

What changes are included in this PR?

A new ci job

Are these changes tested?

Are there any user-facing changes?

Signed-off-by: Ruihang Xia <[email protected]>
Signed-off-by: Ruihang Xia <[email protected]>
@github-actions github-actions bot added development-process Related to development process of DataFusion core Core DataFusion crate physical-plan Changes to the physical-plan crate labels Aug 27, 2025
@waynexia waynexia mentioned this pull request Aug 27, 2025
Copy link
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Jefffrey Jefffrey merged commit df58844 into apache:main Aug 28, 2025
28 checks passed
Copy link
Member

@findepi findepi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for working on this!

hte = "hte"
numer = "numer"
abd = "abd"
aroun = "aroun"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like "around" with last letter chopped off. Can we remove this?

Ue = "Ue"
Iy = "Iy"
hte = "hte"
numer = "numer"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like "number" with 'b' lost. Can we remove this?

Comment on lines +29 to +30
carefull = "carefull"
precentage = "precentage"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove these? These are clearly misspelled words that should be flagged.
If they show up in some test data we don't want / can't modify, maybe we can exclude-list that data set instead,

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- uses: crate-ci/typos@v1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per https://infra.apache.org/github-actions-policy.html this should use commit hash.
I am not sure https://github.com/apache/infrastructure-actions/blob/main/approved_patterns.yml is normative. In any case, i read it as saying we can use the action. Not saying that we can safely use the action without pinning to a hash.

@findepi
Copy link
Member

findepi commented Sep 12, 2025

This new check just got a stupid typo i made in a hurry. Thank you for catching me!

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

Labels

core Core DataFusion crate development-process Related to development process of DataFusion physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants