[ https://issues.apache.org/jira/browse/SPARK-25197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-25197. ---------------------------------- Resolution: Won't Fix I would just simply convert the path to string. Wouldn't necessarily add many overloaded APIs > Read from java.nio.Path > ----------------------- > > Key: SPARK-25197 > URL: https://issues.apache.org/jira/browse/SPARK-25197 > Project: Spark > Issue Type: Improvement > Components: Input/Output > Affects Versions: 2.4.0, 3.0.0 > Reporter: Nick Sutcliffe > Priority: Trivial > > It should be possible to provide a java.nio.Path to the read methods on > DataFrameReader, as well as String. For example: > {code:java} > val somePath:java.nio.Path = ??? > spark.read.parquet(somePath) > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org