Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/12695#issuecomment-215425968
  
    Yes, I'm assuming all of the inputs need to be parseable as a URI in order 
to keep this sensible. At least, that seems less problematic than trying to 
accept inputs like `D:\foo\bar`. `/foo/bar` is ambiguous since it could be a 
local or HDFS file, in which case it needs a scheme. This does probably mean 
some pieces of the code which deal with local files via string paths need some 
extra logic to parse as a URI and get the parsed path out of it. I think that's 
substantially what you're doing here, just wondering if we can make it simpler 
by making stronger input assumptions.


---
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]

Reply via email to