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 2019/05/21 04:17:00 UTC
[jira] [Resolved] (SPARK-19091) createDataset(sc.parallelize(x:
Seq)) should be equivalent to createDataset(x: Seq)
[ https://issues.apache.org/jira/browse/SPARK-19091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-19091.
----------------------------------
Resolution: Incomplete
> createDataset(sc.parallelize(x: Seq)) should be equivalent to createDataset(x: Seq)
> -----------------------------------------------------------------------------------
>
> Key: SPARK-19091
> URL: https://issues.apache.org/jira/browse/SPARK-19091
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Josh Rosen
> Priority: Major
> Labels: bulk-closed
>
> It turns out that spark.createDataset(sc.parallelize(x: Seq)) and spark.createaDataSet(x: Seq) produce different plans, where the former is much less efficient due to a lack of accurate size estimation. We should modify SparkSession to special-case the situation where createDataset is called on a ParallelCollectionRDD in order to remove this source of performance variation between the two plans.
--
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