601madman opened a new pull request, #11757:
URL: https://github.com/apache/iceberg/pull/11757

   ### Problem
   When IDENTIFIER FIELDS are set, and `merge-on-read` mode is used, a 
validation error occurs due to incorrect metadata schema checks.
   
   ### Solution
   Adjusted the `calculateMetadataSchema()` method in `SparkScanBuilder` to 
avoid validating identifier fields in metadata columns.
   
   ### Tests
   Added unit tests in 
`TestMergeOnReadWithIdentifierFieldsDelete`、`TestMergeOnReadWithIdentifierFieldsMerge`
 and `TestMergeOnReadWithIdentifierFieldsUpdate` to validate the fix.
   
   Closes #11709 


-- 
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: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to