viirya commented on code in PR #5218:
URL: https://github.com/apache/arrow-rs/pull/5218#discussion_r1429285621
##########
arrow-array/src/builder/map_builder.rs:
##########
@@ -119,6 +119,11 @@ impl<K: ArrayBuilder, V: ArrayBuilder> MapBuilder<K, V> {
&mut self.value_builder
}
+ /// Returns both the key and value array builders of the map
+ pub fn keys_and_values(&mut self) -> (&mut K, &mut V) {
Review Comment:
Looks good to me.
--
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]