wangyum commented on issue #25542: [SPARK-28840][SQL] conf.getClassLoader in SparkSQLCLIDriver should be avoided as it returns the UDFClassLoader which is created by Hive URL: https://github.com/apache/spark/pull/25542#issuecomment-523725659 It seems `--jars sql/hive/src/test/resources/SPARK-21101-1.0.jar` works without this patch: ```shell build/sbt clean package -Phive -Phadoop-2.7 -Phive-thriftserver export SPARK_PREPEND_CLASSES=true bin/spark-sql --jars sql/hive/src/test/resources/SPARK-21101-1.0.jar ```
---------------------------------------------------------------- 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]
