mbutrovich opened a new issue, #2310: URL: https://github.com/apache/iceberg-rust/issues/2310
`ArrowSchemaVisitor`'s lifecycle methods (`before_field`, `after_field`, `before_list_element`, etc.) currently take `&Field`. Because the underlying data in `Fields` is stored as `Arc<Field>` (`FieldRef`), callers that need to retain field info across the traversal are forced to clone the entire `Field` (including its name string, metadata hashmap, and child types). Changing the signatures to accept `&FieldRef` would let visitors store a cheap `Arc::clone` instead. See: https://github.com/apache/iceberg-rust/pull/2301#discussion_r3026339750 -- 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]
