xupefei commented on PR #47631: URL: https://github.com/apache/spark/pull/47631#issuecomment-2296256354
> @xupefei can you check if this works with UDFs? I checked and found it doesn't work. The Spark Core session is currently not using the class loader provided by ArtifactManager: https://github.com/apache/spark/blob/11b682cf5b7c5360a02410be288b7905eecc1d28/common/utils/src/main/scala/org/apache/spark/util/SparkClassUtils.scala#L28-L47 For now we have to wrap the code with `artifactManager.withResources` to replace the class loader. THis issue needs to be fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
