Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/5447#discussion_r30095611
--- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
@@ -1801,8 +1783,7 @@ private[spark] object Utils extends Logging {
Array.empty
} else {
paths.split(",").filter { p =>
- val formattedPath = if (windows) formatWindowsPath(p) else p
- val uri = new URI(formattedPath)
+ val uri = resolveURI(p)
Option(uri.getScheme).getOrElse("file") match {
case windowsDrive(d) if windows => false
--- End diff --
Not your fault, but I'm not sure this will ever match anything, since the
match is on the URI's scheme. But probably doesn't hurt to leave here if you
don't want to double-check that.
---
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]