Skip to content

Conversation

garlandz-db
Copy link
Contributor

@garlandz-db garlandz-db commented Oct 13, 2025

What changes were proposed in this pull request?

Ensure there exists an error class in every error thrown from spark connect client by providing fallback error classes

Why are the changes needed?

At the moment there are some cases where an errorClass is not thrown. This goes against the goal of promoting a definition for providing a sql state for every exception in better sql error messages.

Does this PR introduce any user-facing change?

Yes. A previous error message that did not throw an error class now does.

How was this patch tested?

Unit testing

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

@garlandz-db garlandz-db changed the title Always set a sql state in spark connect client [SPARK-53882][CONNECT][SCALA] Always set a sql state in spark connect client Oct 13, 2025
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.

1 participant