HyukjinKwon commented on code in PR #50231:
URL: https://github.com/apache/spark/pull/50231#discussion_r1988259293


##########
sql/core/src/test/scala/org/apache/spark/sql/artifact/StubClassLoaderSuite.scala:
##########
@@ -101,7 +102,7 @@ class StubClassLoaderSuite extends SparkFunSuite {
 
     // Creating a new class loader will unpack the udf correctly.
     val cl2 = new ChildFirstURLClassLoader(
-      Array(udfNoAJar),
+      Array(new File(udfNoAJar).toURI.toURL),

Review Comment:
   Would you mind explaining why?



-- 
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]

Reply via email to