spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-25197) Read from java.nio.Path
Date Thu, 23 Aug 2018 03:38:00 GMT

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message