Skip to content

Conversation

HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented Mar 27, 2025

What changes were proposed in this pull request?

This PR adds a check if the commits add/fix jars, and reject.

Why are the changes needed?

It is discouraged to have jars in the repo.

Does this PR introduce any user-facing change?

No, dev-only.

How was this patch tested?

l manually tested with the jar removal (82f75fe) and changing dev/test-jars.txt and:

APACHE_SPARK_REF=HEAD~1 dev/is-changed.py

It will fails as below:

Cannot include jars in source codes (data/artifact-tests/smallJar.jar, sql/core/src/test/resources/SPARK-33084.jar). If they have to be added temporarily, please add the file name into dev/test-jars.txt.

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

No.

@github-actions github-actions bot added the BUILD label Mar 27, 2025
@HyukjinKwon
Copy link
Member Author

cc @yaooqinn @hvanhovell @pan3793 this addresses your comments.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @HyukjinKwon .

@HyukjinKwon
Copy link
Member Author

HyukjinKwon commented Mar 27, 2025

Merged to master and branch-4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants