Cheng Su created SPARK-39849:
--------------------------------

             Summary: Dataset.as(StructType) fills missing new columns with 
null value
                 Key: SPARK-39849
                 URL: https://issues.apache.org/jira/browse/SPARK-39849
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Cheng Su


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to