You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sameer Agarwal (JIRA)" <ji...@apache.org> on 2018/01/08 21:01:00 UTC

[jira] [Updated] (SPARK-13184) Support minPartitions parameter for JSON and CSV datasources as options

     [ https://issues.apache.org/jira/browse/SPARK-13184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sameer Agarwal updated SPARK-13184:
-----------------------------------
    Target Version/s: 2.4.0  (was: 2.3.0)

> Support minPartitions parameter for JSON and CSV datasources as options
> -----------------------------------------------------------------------
>
>                 Key: SPARK-13184
>                 URL: https://issues.apache.org/jira/browse/SPARK-13184
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Hyukjin Kwon
>            Priority: Minor
>
> After looking through the pull requests below at Spark CSV datasources,
> https://github.com/databricks/spark-csv/pull/256
> https://github.com/databricks/spark-csv/issues/141
> https://github.com/databricks/spark-csv/pull/186
> It looks Spark might need to be able to set {{minPartitions}}.
> {{repartition()}} or {{coalesce()}} can be alternatives but it looks it needs to shuffle the data for most cases.
> Although I am still not sure if it needs this, I will open this ticket just for discussion.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org