You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2022/10/27 10:57:00 UTC
[jira] [Resolved] (SPARK-40922) pyspark.pandas.read_csv supports reading multiple files, but that is undocumented
[ https://issues.apache.org/jira/browse/SPARK-40922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-40922.
----------------------------------
Fix Version/s: 3.4.0
Resolution: Fixed
Issue resolved by pull request 38399
[https://github.com/apache/spark/pull/38399]
> pyspark.pandas.read_csv supports reading multiple files, but that is undocumented
> ---------------------------------------------------------------------------------
>
> Key: SPARK-40922
> URL: https://issues.apache.org/jira/browse/SPARK-40922
> Project: Spark
> Issue Type: Documentation
> Components: Pandas API on Spark, PySpark
> Affects Versions: 3.3.1
> Reporter: Stefaan Lippens
> Assignee: Stefaan Lippens
> Priority: Minor
> Fix For: 3.4.0
>
>
> The {{path}} argument of {{pyspark.pandas.read_csv(path, ...)}} currently has type annotation {{str}} and is documented as
> {code}
> path : str
> The path string storing the CSV file to be read.
> {code}
> The implementation however uses {{pyspark.sql.DataFrameReader.csv(path, ...)}} which does support multiple paths:
> {code}
> path : str or list
> string, or list of strings, for input path(s),
> or RDD of Strings storing CSV rows.
> {code}
> Loading multiple CSV files at once is a useful feature to have and should be documented (and tested for)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org