Abhisheklearn12 commented on code in PR #11351:
URL: https://github.com/apache/arrow-rs/pull/11351#discussion_r4285832592
##########
parquet-variant-compute/src/shred_variant.rs:
##########
@@ -423,16 +423,23 @@ impl<'a> VariantToShreddedObjectVariantRowBuilder<'a> {
} = self;
seen.fill(false);
let mut builder = value_builder.builder_ext(value.metadata());
- let mut object_builder = builder.try_new_object()?;
+ // Error on a repeated unshredded field instead of overwriting it
+ let mut object_builder =
builder.try_new_object()?.with_validate_unique_fields(true);
Review Comment:
hi @sdf-jkl, done in 503ad4209, 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]