You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "MrHappyEnding (via GitHub)" <gi...@apache.org> on 2026/08/19 07:44:24 UTC

[PR] [SPARK-58815][SQL] Handle name conflicts in row-level operations [spark]

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-58815][SQL] Handle name conflicts in row-level operations [spark]

Posted by "MrHappyEnding (via GitHub)" <gi...@apache.org>.
MrHappyEnding closed pull request #58107: [SPARK-58815][SQL] Handle name conflicts in row-level operations
URL: https://github.com/apache/spark/pull/58107


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org