nivo091 opened a new pull request #23921: SPARK-26560:Repeat select fail fix
URL: https://github.com/apache/spark/pull/23921
 
 
   ## What changes were proposed in this pull request?
   
   In Spark shell ,while doing first select of function, it calls 
lookupFunction which does the following things---
   the classloader is set in the currentThread by IsolatedClientLoader as 
NonClosableMutuableClassLoader and loads the udf jar file into the classloader.
   
   While selecting for the 2nd time, it takes directly from the 
functionRegistry which is SimpleFunctionRegistry, which is stored in 
functionBuilder hashmap 
   and the current Thread classloader is IMainTransaltingClassLoader from 
before while evaluating the functionExpression of functionBuilder.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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