Skip to content

Conversation

@MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Feb 15, 2024

What changes were proposed in this pull request?

In the PR, I propose to use checkError() in tests of catalyst to check SparkIllegalArgumentException, and its fields.

Why are the changes needed?

By checking SparkIllegalArgumentException and its fields like error class and message parameters prevents replacing SparkIllegalArgumentException back to IllegalArgumentException.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

By running the modified test suites.

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

No.

@MaxGekk MaxGekk changed the title [WIP][SQL][TESTS] Check SparkIllegalArgumentException instead of IllegalArgumentException in catalyst [SPARK-47060][SQL][TESTS] Check SparkIllegalArgumentException instead of IllegalArgumentException in catalyst Feb 15, 2024
@MaxGekk MaxGekk marked this pull request as ready for review February 15, 2024 11:28
@MaxGekk MaxGekk requested a review from cloud-fan February 16, 2024 06:46
@MaxGekk
Copy link
Member Author

MaxGekk commented Feb 16, 2024

Merging to master. Thank you, @cloud-fan for review.

@MaxGekk MaxGekk closed this in 64fa13b Feb 16, 2024
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.

2 participants