Skip to content

Conversation

miland-db
Copy link
Contributor

What changes were proposed in this pull request?

This pull request enhances Spark error handling capabilities, primarily within AnalysisException, to support more flexible and maintainable error message rendering.

Why are the changes needed?

The goal is to add a new default method, getDefaultMessageTemplate, to the public SparkThrowable interface. This gives clients a consistent, machine-readable default template for error rendering, while leaving them free to localize or otherwise transform the message.

This approach helps create a single source of truth for error definitions.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit tests and existing tests.

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

No

@miland-db
Copy link
Contributor Author

Adding @cloud-fan, @dejankrak-db, @yuchenhuo, @davidm-db

@miland-db miland-db requested a review from cloud-fan October 10, 2025 13:34
@cloud-fan
Copy link
Contributor

We need to fix the binary compatibility issuse detected by mima.

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