[ 
https://issues.apache.org/jira/browse/SPARK-54289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037268#comment-18037268
 ] 

Dongjoon Hyun commented on SPARK-54289:
---------------------------------------

Please don't set `Fix Version` and `Target Version` when you create JIRA 
issues, [~szehon]. There is a community policy for those two fields.
- https://spark.apache.org/contributing.html

{code}
# Do not set the following fields:
- Fix Version. This is assigned by committers only when resolved.
- Target Version. This is assigned by committers to indicate a PR has been 
accepted for possible fix by the target version.
{code}

> Allow MERGE INTO to preserve existing struct fields for UPDATE SET * when 
> source has less fields
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-54289
>                 URL: https://issues.apache.org/jira/browse/SPARK-54289
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Szehon Ho
>            Priority: Major
>
> SPARK-53482 allow source struct to have less fields than target struct.  
> However MERGE INTO statement with UPDATE SET * can be interpreted two ways.  
> Either replace entire struct (top level) or keep the fields in target not in 
> source.
>  
> The current behavior is the first option, but we should allow users the 
> second option to prevent inadvertent data loss.



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

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

Reply via email to