Skip to content

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

In general we want an sqlstate with PythonException to be better categorized. This PR basically rewrite PythonException to SparkPythonException style. For now we report 38000 for all existing exceptions, but we leave the flexibility to future changes.

Why are the changes needed?

Many reported PythonExceptions can't be categorized by sqlstate which is not helpful to triage and build metrics.

Does this PR introduce any user-facing change?

Yes.

I believe the exception report would be different. sqlstate will be there and the print format will be slightly changed.

How was this patch tested?

CI

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

No.

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