Skip to content

[SPARK-52321] Add SessionClosed/SqlConfNotFound/ParseSyntaxError to SparkConnectError #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented May 27, 2025

What changes were proposed in this pull request?

This PR aims to add SessionClosed, SqlConfNotFound, ParseSyntaxError to SparkConnectError.

Why are the changes needed?

To provide a user can catch these exceptions easily instead of matching internalError with string patterns.

Does this PR introduce any user-facing change?

Yes, but these are more specific exceptions than before.

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-52321] Add SessionClosed, SqlConfNotFound, ParseSyntaxError to SparkConnectError [SPARK-52321] Add SessionClosed/SqlConfNotFound/ParseSyntaxError to SparkConnectError May 27, 2025
@dongjoon-hyun
Copy link
Member Author

Let me merge this to move forward.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-52321 branch May 27, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant