anoopj opened a new pull request, #3028:
URL: https://github.com/apache/iceberg-rust/pull/3028

   ## Which issue does this PR close?
   
   - Closes #3027
   
   ## What changes are included in this PR?
   
   Reading or writing a manifest wrapped the partition type as 
Type::Struct(partition_type.clone()) once per entry. Because StructType's 
field-name lookup is a lazily built OnceLock that the clone leaves empty, every 
entry re-cloned the field vector and rebuilt the whole name lookup (cloning 
each partition field name) only to discard it.
   
   ## Are these changes tested?
   
   Yes, updated tests. 
   


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