@@ -291,7 +291,7 @@ pub fn comparison_coercion(lhs_type: &DataType, rhs_type: &DataType) -> Option<D
291
291
return Some ( lhs_type. clone ( ) ) ;
292
292
}
293
293
294
- compare_binary_numeric_coercion ( lhs_type, rhs_type)
294
+ comparison_binary_numeric_coercion ( lhs_type, rhs_type)
295
295
. or_else ( || dictionary_coercion ( lhs_type, rhs_type, true ) )
296
296
. or_else ( || temporal_coercion ( lhs_type, rhs_type) )
297
297
. or_else ( || string_coercion ( lhs_type, rhs_type) )
@@ -357,7 +357,7 @@ fn string_temporal_coercion(
357
357
358
358
/// Coerce `lhs_type` and `rhs_type` to a common type for the purposes of a comparison operation
359
359
/// where both are numeric and the coerced type MAY not be the same as either input type.
360
- pub fn compare_binary_numeric_coercion (
360
+ pub fn comparison_binary_numeric_coercion (
361
361
lhs_type : & DataType ,
362
362
rhs_type : & DataType ,
363
363
) -> Option < DataType > {
@@ -616,7 +616,7 @@ fn mathematics_numerical_coercion(
616
616
( _, Dictionary ( _, value_type) ) => {
617
617
mathematics_numerical_coercion ( lhs_type, value_type)
618
618
}
619
- _ => compare_binary_numeric_coercion ( lhs_type, rhs_type) ,
619
+ _ => comparison_binary_numeric_coercion ( lhs_type, rhs_type) ,
620
620
}
621
621
}
622
622
0 commit comments