You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/02/28 14:48:33 UTC

[GitHub] nivo091 opened a new pull request #23921: SPARK-26560:Repeat select fail fix

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org