spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-15899) file scheme should be used correctly
Date Sun, 12 Jun 2016 08:08:20 GMT

     [ https://issues.apache.org/jira/browse/SPARK-15899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Owen updated SPARK-15899:
------------------------------
    Priority: Minor  (was: Major)

I think the code is actually using the form {{file:/path}} which I agree isn't quite right
though usually is understood. It's OK to add the two extra slashes, yes. I don't think this
needs a utility method.

> file scheme should be used correctly
> ------------------------------------
>
>                 Key: SPARK-15899
>                 URL: https://issues.apache.org/jira/browse/SPARK-15899
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Kazuaki Ishizaki
>            Priority: Minor
>
> [A RFC|https://www.ietf.org/rfc/rfc1738.txt] defines file scheme as {{file://host/}}
or {{file:///}}. [Wikipedia|https://en.wikipedia.org/wiki/File_URI_scheme]
> [Some code stuffs|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala#L58]
use different prefix such as {{file:}}.
> It would be good to prepare a utility method to correctly add {{file://host}} or {{file://}
prefix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message