File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ fn merge_concat_byte_dictionaries<K: ArrowDictionaryKeyType>(
132
132
dictionaries : & [ & DictionaryArray < K > ] ,
133
133
output_len : usize ,
134
134
) -> Result < ArrayRef , ArrowError > {
135
- let merged = merge_dictionary_values ( & dictionaries, None ) ?;
135
+ let merged = merge_dictionary_values ( dictionaries, None ) ?;
136
136
137
137
// Recompute keys
138
138
let mut key_values = Vec :: with_capacity ( output_len) ;
@@ -341,7 +341,7 @@ where
341
341
342
342
macro_rules! dict_helper {
343
343
( $t: ty, $value_type: expr, $arrays: expr) => {
344
- return Ok ( concat_dictionaries:: <$t>( $value_type. as_ref( ) , $arrays) ? )
344
+ concat_dictionaries:: <$t>( $value_type. as_ref( ) , $arrays)
345
345
} ;
346
346
}
347
347
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ fn merge_interleave_byte_dictionaries<K: ArrowDictionaryKeyType>(
249
249
} )
250
250
. collect ( ) ;
251
251
252
- let merged = merge_dictionary_values ( & dictionaries, Some ( & masks) ) ?;
252
+ let merged = merge_dictionary_values ( dictionaries, Some ( & masks) ) ?;
253
253
254
254
// Recompute keys
255
255
let mut keys = PrimitiveBuilder :: < K > :: with_capacity ( indices. len ( ) ) ;
You can’t perform that action at this time.
0 commit comments