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

Dataset.as(StructType) fills missing new columns with null value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • SQL
    • None

    Description

      As a followup of https://github.com/apache/spark/pull/37011#discussion_r917700960 , it would be great to fill missing new columns with null values, instead of failing out loud. Note it would only work for nullable columns.

      Attachments

        Activity

          People

            chengsu Cheng Su
            chengsu Cheng Su
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: