[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to