maropu commented on a change in pull request #29587:
URL: https://github.com/apache/spark/pull/29587#discussion_r502844441
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -2721,6 +2721,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val UNION_BYNAME_STRUCT_SUPPORT_ENABLED =
+ buildConf("spark.sql.unionByName.structSupport.enabled")
+ .doc("When true, the `allowMissingColumns` feature of
`Dataset.unionByName` supports " +
+ "nested column in struct types. Missing nested columns of struct
columns with same " +
+ "name will also be filled with null values. This currently does not
support nested " +
+ "columns in array and map types.")
Review comment:
> I believe it is not unable to adjust the nested columns to have a more
natural schema. But I can see this PR grows too big and I would like to cut it
early. If you are okay, I can address this issue in other PR after this. WDYT?
Yea, it looks okay to me. cc: @cloud-fan @HyukjinKwon @dongjoon-hyun
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]