[ 
https://issues.apache.org/jira/browse/SPARK-34151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267085#comment-17267085
 ] 

Apache Spark commented on SPARK-34151:
--------------------------------------

User 'LuciferYang' has created a pull request for this issue:
https://github.com/apache/spark/pull/31230

> Replaces `java.io.FIle.toURL` with `java.io.File.toURI.toURL`
> -------------------------------------------------------------
>
>                 Key: SPARK-34151
>                 URL: https://issues.apache.org/jira/browse/SPARK-34151
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> `java.io.FIle.toURL` method does not automatically escape characters that are 
> illegal in URLs. It is recommended that new code convert an abstract pathname 
> into a URL by first converting it into a URI, via the `toURI` method, and 
> then converting the URI into a URL via the `URI.toURL` method.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to