tustvold commented on code in PR #7101:
URL: https://github.com/apache/arrow-rs/pull/7101#discussion_r1952340672


##########
arrow-array/src/builder/map_builder.rs:
##########
@@ -107,13 +108,27 @@ impl<K: ArrayBuilder, V: ArrayBuilder> MapBuilder<K, V> {
             field_names: field_names.unwrap_or_default(),
             key_builder,
             value_builder,
+            key_field: None,
             value_field: None,
         }
     }
 
     /// Override the field passed to [`MapBuilder::new`]
     ///
-    /// By default a nullable field is created with the name `values`
+    /// By default, a nullable field is created with the name `keys`

Review Comment:
   ```suggestion
       /// By default, a non-nullable field is created with the name `keys`
   ```



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