-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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-35380][SQL] Loading SparkSessionExtensions from ServiceLoader #32515
Conversation
Kubernetes integration test unable to build dist. exiting with code: 1 |
Test build #138420 has finished for PR 32515 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
cc @cloud-fan @MrPowers @HyukjinKwon @maropu thanks |
Test build #138434 has finished for PR 32515 at commit
|
This reverts commit 4e84a6f.
Kubernetes integration test unable to build dist. exiting with code: 1 |
sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
Outdated
Show resolved
Hide resolved
sql/core/src/main/scala/org/apache/spark/sql/SparkSessionExtensionsProvider.scala
Show resolved
Hide resolved
Test build #138443 has finished for PR 32515 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
Test build #138428 has finished for PR 32515 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
Kubernetes integration test starting |
Kubernetes integration test status failure |
There was a problem hiding this 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 for updating, @yaooqinn .
Kubernetes integration test starting |
Kubernetes integration test status failure |
Test build #138457 has finished for PR 32515 at commit
|
Test build #138461 has finished for PR 32515 at commit
|
Ur, @yaooqinn . The R failure looks a little suspicious because it's consistent and relevant. It might be a side-effect in terms of test classes. Could you double-check it?
|
The failure proves this works well at the sparkR side, LOL. I changed the mocked function classname to fix this |
sql/core/src/main/scala/org/apache/spark/sql/SparkSessionExtensionsProvider.scala
Outdated
Show resolved
Hide resolved
sql/core/src/main/scala/org/apache/spark/sql/SparkSessionExtensionsProvider.scala
Outdated
Show resolved
Hide resolved
Kubernetes integration test starting |
Kubernetes integration test status failure |
…sionsProvider.scala Co-authored-by: Hyukjin Kwon <gurwls223@gmail.com>
…sionsProvider.scala Co-authored-by: Hyukjin Kwon <gurwls223@gmail.com>
Test build #138484 has finished for PR 32515 at commit
|
Kubernetes integration test unable to build dist. exiting with code: 1 |
Looks okay to me too |
Kubernetes integration test starting |
Kubernetes integration test status failure |
Kubernetes integration test unable to build dist. exiting with code: 1 |
Test build #138482 has finished for PR 32515 at commit
|
Thanks for the help ~ @dongjoon-hyun @HyukjinKwon @cloud-fan +1 for myself. merged to master |
Test build #138489 has finished for PR 32515 at commit
|
Test build #138493 has finished for PR 32515 at commit
|
What changes were proposed in this pull request?
In yaooqinn/itachi#8, we had a discussion about the current extension injection for the spark session. We've agreed that the current way is not that convenient for both third-party developers and end-users.
It's much simple if third-party developers can provide a resource file that contains default extensions for Spark to load ahead
Why are the changes needed?
better use experience
Does this PR introduce any user-facing change?
no, dev change
How was this patch tested?
new tests