maropu commented on issue #25399: [SPARK-28670][SQL] create function should thrown Exception if the resource is not found URL: https://github.com/apache/spark/pull/25399#issuecomment-520115657 Really? I got; ``` scala> sql("""CREATE temporary FUNCTION udtf_test AS 'org.apache.spark.sql.hive.execution.UDFTest' USING JAR '/var/invalid/invalid.jar'""") 19/08/10 12:58:19 ERROR SparkContext: Failed to add /var/invalid/invalid.jar to Spark environment java.io.FileNotFoundException: Jar /var/invalid/invalid.jar not found at org.apache.spark.SparkContext.addLocalJarFile$1(SparkContext.scala:1798) at org.apache.spark.SparkContext.addJar(SparkContext.scala:1850) ``` Anyway, could you update the PR description for the before/after behaivours?
---------------------------------------------------------------- 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]
