Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/9570#discussion_r44673026
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
---
@@ -70,7 +70,12 @@ class SQLQuerySuite extends QueryTest with SQLTestUtils {
private val sqlContext = _sqlContext
test("UDTF") {
- sql(s"ADD JAR
${TestHive.getHiveFile("TestUDTF.jar").getCanonicalPath()}")
+ val jarPath = TestHive.getHiveFile("TestUDTF.jar").getCanonicalPath
+
+ // SPARK-11595 Fixes ADD JAR when input path contains URL scheme
+ val jarURL = s"file://$jarPath"
--- End diff --
Actually there are other test cases that already covered the case without a
scheme. So I think it's fine.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]