etseidl commented on code in PR #6757:
URL: https://github.com/apache/arrow-rs/pull/6757#discussion_r1854213725
##########
parquet/src/arrow/schema/complex.rs:
##########
@@ -448,15 +448,21 @@ impl Visitor {
};
}
+ // test to see if the repeated field is a struct or one-tuple
let items = repeated_field.get_fields();
if items.len() != 1
- || repeated_field.name() == "array"
- || repeated_field.name() == format!("{}_tuple", list_type.name())
+ || (!repeated_field.is_list()
Review Comment:
We're testing if the child of the list we're processing is also `LIST`
annotated.
```
optional group my_list (LIST) { <---- this is `list_type`
repeated group array (LIST) { <---- this is `repeated_field`
repeated int32 array;
};
}
```
--
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]