scovich opened a new issue, #8170:
URL: https://github.com/apache/arrow-rs/issues/8170

   **Describe the bug**
   
   When duplicate detection is enabled, `ObjectBuilder::try_insert` or 
`ObjectBuilder::try_with_field` detect duplicate field names, but 
`ObjectBuilder::new_list` and `ObjectBuilder::new_object` do _not_.
   
   **To Reproduce**
   
   Just invoke either of those methods with a duplicate key -- no error.
   
   **Expected behavior**
   
   An error should be flagged.
   
   **Additional context**
   
   Found as part of
   * https://github.com/apache/arrow-rs/pull/8167


-- 
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: github-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to