[ https://issues.apache.org/jira/browse/SPARK-13157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130749#comment-15130749 ]
Herman van Hovell commented on SPARK-13157: ------------------------------------------- [~lian cheng] Hive does not parse the add jar/add file/dfs/set commands in its parser. These are handled somewhere in the CLI. I introduced this bug by moving these commands into the parser. > ADD JAR command cannot handle path with @ character > --------------------------------------------------- > > Key: SPARK-13157 > URL: https://issues.apache.org/jira/browse/SPARK-13157 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.0.0 > Reporter: Cheng Lian > Priority: Blocker > > To reproduce this issue locally, copy {{TestUDTF.jar}} under > {{$SPARK_HOME/sql/hive/src/test/resources/TestUDTF.jar}} to > {{/tmp/a@b/TestUDTF.jar}}. Then start the Thrift server and run the following > commands using Beeline: > {noformat} > > add jar file:///tmp/a@b/TestUDTF.jar; > ... > > CREATE TEMPORARY FUNCTION udtf_count2 AS > > 'org.apache.spark.sql.hive.execution.GenericUDTFCount2'; > Error: org.apache.spark.sql.execution.QueryExecutionException: FAILED: > Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.FunctionTask (state=,code=0) > {noformat} > Please refer to [this PR comment > thread|https://github.com/apache/spark/pull/11040] for more details. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org