Yang Jie created SPARK-34151:
--------------------------------

             Summary: 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


`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