Skip to content

Conversation

@zhenlineo
Copy link
Contributor

What changes were proposed in this pull request?

Made the stub constructor to throw ClassNotFoundException if called.
A tiny improvement to not recreate class loaders in executor if stubbing is not enabled.

Why are the changes needed?

Enhancement to #42069
Should be merged to 3.5.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit tests.

@zhenlineo zhenlineo marked this pull request as ready for review July 29, 2023 18:22
@HyukjinKwon HyukjinKwon changed the title [SPARK-43744][CONNECT][Followup]Throw error from the constructor [SPARK-43744][CONNECT][FOLLOW-UP]Throw error from the constructor Jul 30, 2023
@HyukjinKwon
Copy link
Member

Merged to master and branch-3.5.

HyukjinKwon pushed a commit that referenced this pull request Jul 30, 2023
### What changes were proposed in this pull request?
Made the stub constructor to throw ClassNotFoundException if called.
A tiny improvement to not recreate class loaders in executor if stubbing is not enabled.

### Why are the changes needed?
Enhancement to #42069
Should be merged to 3.5.

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

### How was this patch tested?
Unit tests.

Closes #42222 from zhenlineo/error-from-constuctor.

Authored-by: Zhen Li <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit 5df1d79)
Signed-off-by: Hyukjin Kwon <[email protected]>
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