sam-1112 commented on code in PR #3632:
URL: https://github.com/apache/iceberg-rust/pull/3632#discussion_r4681460266
##########
crates/iceberg/src/arrow/schema.rs:
##########
@@ -346,6 +346,9 @@ fn visit_type<V: ArrowSchemaVisitor>(r#type: &DataType,
visitor: &mut V) -> Resu
}
DataType::List(element_field) => visit_list(r#type, element_field,
visitor),
DataType::LargeList(element_field) => visit_list(r#type,
element_field, visitor),
+ DataType::ListView(element_field) |
DataType::LargeListView(element_field) => {
+ visit_list(r#type, element_field, visitor)
+ }
Review Comment:
I add both list-view variants to the two visitors. Schema conversion reads
them as Iceberg lists, and metadata stripping preserves their Arrow types. I
also add tests for both functions covering `ListView` and `LargeListView`.
--
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]