beyond-up commented on issue #11891:
URL: https://github.com/apache/iceberg/issues/11891#issuecomment-2567262917

   > > But this equality delete file is out of order and this record and still 
be read in iceberg table
   > 
   > Equality delete file written had ptr as **111** instead of **202412130** 
seems to be the root cause as the eq delete predicate will not be applied
   > 
   > Q: 1/ is flink producing the eq delete ? 2/ how was the table created ? is 
there something like name-mapping etc comming into play which might fiddle with 
the actual delete file write ?
   
   1. I think flink producing the eq delete , this is  the delete record I 
print 
   
![image](https://github.com/user-attachments/assets/7c23b14e-222e-4cc0-9d2b-dd831ed0087f)
   
   2. this is the table schema,  the record flink produced is consistent with 
the order of table schema
   
![image](https://github.com/user-attachments/assets/f88e586f-cff6-4f7a-aa38-be23a89a2352)
   
   And I did further experiments:
    If equality fields are not together (in this table is id and city_id)  eq 
delete file is worry  like this:
   
   
![image](https://github.com/user-attachments/assets/b4e23df3-407b-4043-a412-a874bc20dbfd)
   
   
![image](https://github.com/user-attachments/assets/d82ffff6-d750-445e-81b2-8df76e1b1f8f)
   


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