rambleraptor commented on code in PR #8602:
URL: https://github.com/apache/arrow-rs/pull/8602#discussion_r2430363003
##########
parquet/src/schema/types.rs:
##########
@@ -1359,6 +1359,8 @@ fn schema_from_array_helper<'a>(
if !is_root_node {
builder = builder.with_repetition(rep);
}
+ } else if !is_root_node {
+ return Err(general_err!("Repetition level must be defined for
non-root types"));
Review Comment:
Yep, much more concise. Thanks!
--
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]