HuaHuaY commented on code in PR #49125:
URL: https://github.com/apache/arrow/pull/49125#discussion_r2785553439
##########
cpp/src/parquet/arrow/schema.cc:
##########
@@ -620,7 +621,8 @@ Status MapToSchemaField(const GroupNode& group, LevelInfo
current_levels,
if (group.field_count() != 1) {
return Status::Invalid("MAP-annotated groups must have a single child.");
}
- if (group.is_repeated()) {
+ if (group.is_repeated() &&
Review Comment:
I have added `MAP-annotated groups cannot be repeated unless in a legacy
two-level LIST-annotated group.` because I think the following sentence is an
inference of official document.
--
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]