Ankitkj1999 commented on PR #4363:
URL: https://github.com/apache/iceberg-python/pull/4363#issuecomment-7059084196

   Thanks for the review @Fokko!
   
   You're completely right — since \specs_struct()\ guarantees that all 
partition field IDs across the relevant specs are collected and mapped to their 
latest names, a missing field ID is indeed unreachable in valid tables.
   
   I've updated the lookups to direct \id_to_name[field.field_id]\ indexing 
across \entries()\, \partitions()\, and \_get_files_from_manifest()\, with an 
explanatory comment noting that \specs_struct()\ guarantees presence.


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