friendlymatthew commented on code in PR #7801:
URL: https://github.com/apache/arrow-rs/pull/7801#discussion_r2173771369


##########
parquet-variant/src/builder.rs:
##########
@@ -571,6 +588,9 @@ pub struct ObjectBuilder<'a, 'b> {
     buffer: ValueBuffer,
     /// Is there a pending list or object that needs to be finalized?
     pending: Option<(&'b str, usize)>,
+    validate_duplicates: bool,

Review Comment:
   Can we offer users the ability to configure this flag on the 
`VariantBuilder` level? So similar to what we have in `ObjectBuilder` with 
`with_validate_unique_fields`. 
   
   I'd imagine this flag remains the same across all its objects and their 
children.
   
   



-- 
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]

Reply via email to