Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30671

SparkSession emptyDataFrame should not create an RDD

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.4
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hvanhovell Herman van Hövell
                Reporter:
                hvanhovell Herman van Hövell
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: