diff --git a/arrow-array/src/builder/generic_bytes_dictionary_builder.rs b/arrow-array/src/builder/generic_bytes_dictionary_builder.rs index 8d90339642a..6bc4c0a48d3 100644 --- a/arrow-array/src/builder/generic_bytes_dictionary_builder.rs +++ b/arrow-array/src/builder/generic_bytes_dictionary_builder.rs @@ -307,7 +307,9 @@ where /// Extends builder with dictionary /// - /// This is the same as `extends` but avoid lookup for each item in the iterator + /// This is the same as `extends` but avoid lookup for each item in the iterator + /// + /// when dictionary values are null (the actual mapped values) the keys are null /// pub fn extend_dictionary(&mut self, dictionary: &TypedDictionaryArray>) -> Result<(), ArrowError> { let values = dictionary.values();