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 2020/02/12 01:50:00 UTC

[jira] [Resolved] (SPARK-30780) LocalRelation should use emptyRDD if it is empty

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

Hyukjin Kwon resolved SPARK-30780.
----------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 27530
[https://github.com/apache/spark/pull/27530]

> LocalRelation should use emptyRDD if it is empty
> ------------------------------------------------
>
>                 Key: SPARK-30780
>                 URL: https://issues.apache.org/jira/browse/SPARK-30780
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.4.5
>            Reporter: Herman van Hövell
>            Assignee: Herman van Hövell
>            Priority: Major
>             Fix For: 3.0.0
>
>
> LocalRelation creates an RDD of a single partition when it is empty. This is somewhat unexpected, and can lead to unnecessary work.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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