wgtmac commented on code in PR #43995:
URL: https://github.com/apache/arrow/pull/43995#discussion_r1821098603
##########
cpp/src/parquet/arrow/schema.cc:
##########
@@ -681,6 +681,10 @@ Status ListToSchemaField(const GroupNode& group, LevelInfo
current_levels,
// List of primitive type
RETURN_NOT_OK(
NodeToSchemaField(*list_group.field(0), current_levels, ctx, out,
child_field));
+ } else if (list_group.field_count() == 1 &&
list_group.field(0)->is_repeated()) {
Review Comment:
The rule 3 has following implications:
- The repeated field is a group with one field and is named array, whether
or not LIST-annotated.
- The repeated field is a group with one field and uses the LIST-annotated
group's name with _tuple appended.
Am I right? @emkornfield
--
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]