Skip to content

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Aug 12, 2025

What changes were proposed in this pull request?

This PR aims to use checkArgument and checkState of JavaUtils class instead of com.google.common.base.Preconditions

Why are the changes needed?

To use Apache Spark's existing code instead of 3rd party library.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

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

No.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-53258][CORE][SQL] Use JavaUtils's check(Argument|NotNull|State) [SPARK-53258][CORE][SQL] Use JavaUtils's check(Argument|State) Aug 12, 2025
@dongjoon-hyun dongjoon-hyun marked this pull request as ready for review August 12, 2025 07:03
@dongjoon-hyun
Copy link
Member Author

I realized that I completed forgot about your previous clean-up contribution (#51926), @LuciferYang . Sorry about that.
This PR didn't hit checkNotNull during rebasing because there is no instance of checkNotNull. 😄

@dongjoon-hyun
Copy link
Member Author

Thank you, @LuciferYang , @yaooqinn , and @peter-toth !

Merged to master for Apache Spark 4.1.0.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-53258 branch August 12, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants