Skip to content
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

[SPARK-46453][CONNECT] Throw exception from internalError() in SessionHolder #44400

Closed
wants to merge 2 commits into from

Conversation

MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Dec 18, 2023

What changes were proposed in this pull request?

In the PR, I propose to throw SparkException returned by internalError in SessionHolder.

Why are the changes needed?

Without the bug fix user won't see the internal error.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

N/a

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

No.

@MaxGekk MaxGekk changed the title [WIP][SPARK-43474][CONNECT][FOLLOWUP] Throw exception from internalError() in SessionHolder [SPARK-43474][CONNECT][FOLLOWUP] Throw exception from internalError() in SessionHolder Dec 18, 2023
@MaxGekk MaxGekk marked this pull request as ready for review December 18, 2023 13:19
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please file a new JIRA issue for this bug fix, @MaxGekk .

This is a valid bug fix and cannot be a follow-up because SPARK-43474 is released as a part of Apache Spark 3.5.0.

@MaxGekk MaxGekk changed the title [SPARK-43474][CONNECT][FOLLOWUP] Throw exception from internalError() in SessionHolder [SPARK-46453][CONNECT] Throw exception from internalError() in SessionHolder Dec 19, 2023
@MaxGekk
Copy link
Member Author

MaxGekk commented Dec 19, 2023

@dongjoon-hyun Created new JIRA and replaced old one in PR's title.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you.

@MaxGekk
Copy link
Member Author

MaxGekk commented Dec 19, 2023

Merging to master/3.5. Thank you, @dongjoon-hyun and @HyukjinKwon for review.

@MaxGekk MaxGekk closed this in dc0bfc4 Dec 19, 2023
MaxGekk added a commit that referenced this pull request Dec 19, 2023
…sionHolder`

### What changes were proposed in this pull request?
In the PR, I propose to throw `SparkException` returned by `internalError` in `SessionHolder`.

### Why are the changes needed?
Without the bug fix user won't see the internal error.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
N/a

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

Closes #44400 from MaxGekk/throw-internal-error.

Authored-by: Max Gekk <max.gekk@gmail.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
(cherry picked from commit dc0bfc4)
Signed-off-by: Max Gekk <max.gekk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants