sandeep-katta 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-523524306 > Is it a standard usage? We support `--jars one.jar`: > > ``` > build/sbt clean package -Phive -Phadoop-2.7 -Phive-thriftserver > export SPARK_PREPEND_CLASSES=true > bin/spark-sql --jars /root/.ivy2/cache/org.spark-project.hive/hive-contrib/jars/hive-contrib-1.2.1.spark2.jar -e "CREATE TEMPORARY FUNCTION example_max AS 'org.apache.hadoop.hive.contrib.udaf.example.UDAFExampleMax'" > ``` Yes we can use one or multiple jars. Sorry I didn't get you, why you gave the above command ?
---------------------------------------------------------------- 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]
