Github user tsudukim commented on a diff in the pull request:
https://github.com/apache/spark/pull/5347#discussion_r27783089
--- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
@@ -1651,7 +1651,7 @@ private[spark] object Utils extends Logging {
/**
* Format a Windows path such that it can be safely passed to a URI.
*/
- def formatWindowsPath(path: String): String = path.replace("\\", "/")
+ def formatWindowsPath(path: String): String = path.replace("\\",
"/").replace(" ", "%20")
--- End diff --
Ah, forgot to consider Linux since I have hardly ever seen the path with
spaces in Linux.
I'll move this code to somewhere else.
---
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]