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/01/31 07:15:00 UTC

[jira] [Resolved] (SPARK-30671) SparkSession emptyDataFrame should not create an RDD

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

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

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

> SparkSession emptyDataFrame should not create an RDD
> ----------------------------------------------------
>
>                 Key: SPARK-30671
>                 URL: https://issues.apache.org/jira/browse/SPARK-30671
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.4.4
>            Reporter: Herman van Hövell
>            Assignee: Herman van Hövell
>            Priority: Major
>             Fix For: 3.0.0
>
>
> SparkSession.emptyDataFrame uses an empty RDD in the background. This is a bit of a pity because the optimizer can't recognize this as being empty and it won't apply things like {{PropagateEmptyRelation}}.



--
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