Sandeep Katta created SPARK-28840:
-------------------------------------

             Summary: --jar argument with spark-sql failed to load the jars to 
driver classpath
                 Key: SPARK-28840
                 URL: https://issues.apache.org/jira/browse/SPARK-28840
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Sandeep Katta


launch spark-sql as below

./bin/spark-sql --master local --jars=/opt/BigdataTools/summation.jar


create temporary function add as 'org.apache.spark.examples.CustomAdd';

after executing above line you can see the below error

*Error in query: Can not load class 'org.apache.spark.examples.CustomAdd' when 
registering the function 'add', please make sure it is on the classpath;*

*Note:same command works for other spark version*



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to