badalprasadsingh opened a new issue, #1855:
URL: https://github.com/apache/iceberg-go/issues/1855

   ### Apache Iceberg version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   The `snapshotProducer.spec(id)` helper returns `NewPartitionSpec()` when a 
partition spec id is not registered in table metadata.
   
   Three manifest-writing paths use it: added delete manifests, mainfest 
merging, and deleted-entry tombstone manifests. A delete file with an 
unregistered spec id **commits without error** into a manifest declaring the 
unpartitioned spec 0, while its entry carries a different partition tuple.
   
   This **corrupts** metadata, no warning. The helper should fail closed.
   
   ### Status
   
   Will raise a PR for it ASAP.


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