AngersZhuuuu commented on issue #24909: [SPARK-28106][SQL] When Spark SQL use "add jar" , before add to SparkContext, check jar path exist first. URL: https://github.com/apache/spark/pull/24909#issuecomment-507485978 > I don't think a new API method is the right solution. This should solve the root cause, or conclude that it's always safe to check the JAR's existence at add time, which it may well be. Why I add a new API is to keep previous call stacks(core behavior,start progress etc.....) are unaffected. It only check user's add jar behavior and function registered like "CREATE FUNCTION FUNC USING /PATH/TO/JAR". Only check user end 's add jar behavior is safe and necessary. Even return **NotFoundException**, it won't effect core server , I have tried a lot.
---------------------------------------------------------------- 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]
