Skip to content

[SPARK-43744][CONNECT][FOLLOW-UP]Throw error from the constructor - #42222

Closed
zhenlineo wants to merge 1 commit into
apache:masterfrom
zhenlineo:error-from-constuctor
Closed

[SPARK-43744][CONNECT][FOLLOW-UP]Throw error from the constructor#42222
zhenlineo wants to merge 1 commit into
apache:masterfrom
zhenlineo:error-from-constuctor

Conversation

@zhenlineo

Copy link
Copy Markdown
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
@HyukjinKwonHyukjinKwon changed the title [SPARK-43744][CONNECT][Followup]Throw error from the constructor[SPARK-43744][CONNECT][FOLLOW-UP]Throw error from the constructorJul 30, 2023
@HyukjinKwon

Copy link
Copy Markdown
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 <zhenlineo@users.noreply.github.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 5df1d79)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for freeto 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

@zhenlineo@HyukjinKwon