HeartSaVioR commented on a change in pull request #27025: [SPARK-26560][SQL] 
Spark should be able to run Hive UDF using jar regardless of current thread 
context classloader
URL: https://github.com/apache/spark/pull/27025#discussion_r361905710
 
 

 ##########
 File path: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
 ##########
 @@ -2491,4 +2492,47 @@ class SQLQuerySuite extends QueryTest with SQLTestUtils 
with TestHiveSingleton {
       }
     }
   }
+
+  test("SPARK-26560 Spark should be able to run Hive UDF using jar regardless 
of " +
 
 Review comment:
   Second run of query execution will fail. It succeeds on first run of query 
execution, because the actual loading for jar happens on first reference (lazy 
loading). CREATE FUNCTION doesn't seem to load the jar at that time.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to