RussellSpitzer opened a new pull request, #15514:
URL: https://github.com/apache/iceberg/pull/15514

   Equality delete schemas constructed in DeleteFilter.applyEqDeletes relied on 
the field order of requiredSchema, which varies depending on the query's 
projection. When the SparkExecutorCache returned delete records read with one 
field ordering to a reader expecting another, StructProjection silently 
misinterpreted the positional data, causing deletes to be skipped.
   
   We fix this by Canonicalize the deleteSchema by sorting fields by field ID. 
Now every reader produces the same schema for deletes regardless of projection, 
ensuring cache hits return correctly ordered records.
   
   Coded with the help of Cursor and claude-4.6.opus-high


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