szehon-ho opened a new pull request, #53229:
URL: https://github.com/apache/spark/pull/53229

   ### What changes were proposed in this pull request?
   https://github.com/apache/spark/pull/52225 allow MERGE INTO to support case 
where assignment value is a struct with less fields than the assignment key, ie 
UPDATE SET big_struct = source.small_struct.
   
   This change disable it for Spark 4.1.
   
   
   
   
   ### Why are the changes needed?
   
   The change brought some interesting question, for example there is some 
ambiguity in user intent.  Does the UPDATE SET * mean set all nested fields or 
top level columns?  In the first case, missing fields are kept.  In the second 
case, missing fields are nullified.
   
   I tried to make a choice in https://github.com/apache/spark/pull/53149 but 
after some feedback, it may be a bit controversial, choosing one interpretation 
over another.  A SQLConf may not be the right choice, and instead we may need 
to introduce some new syntax, which require more discussion.  So disabling for 
4.1.
   
   ### Does this PR introduce _any_ user-facing change?
   No this feature is unreleased
   
   ### How was this patch tested?
   Existing unit test
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to