MrHappyEnding opened a new pull request, #58107:
URL: https://github.com/apache/spark/pull/58107

   ### What changes were proposed in this pull request?
   
   Resolve row-level operation attributes by identity instead of name. This 
covers metadata columns, row IDs, MERGE internal attributes, projections, and 
write requirements.
   
   ### Why are the changes needed?
   
   Data columns may have the same names as metadata or internally generated 
columns. Name-based lookup can select the wrong attribute, causing analysis 
failures or incorrect DELETE, UPDATE, and MERGE behavior.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Row-level operations now work correctly when data, metadata, or 
internal columns have conflicting names. There is no public API change.
   
   ### How was this patch tested?
   
   Added regression tests for metadata conflicts, metadata row IDs, split 
updates, deletes, and MERGE cardinality checks.
   
   Ran the affected DELETE, UPDATE, and MERGE suites. All 948 full regression 
tests, 429 follow-up tests, Scalastyle, and Scalafmt checks passed.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Codex


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