Skip to content

Commit c6bcf8a

Browse files
committed
rename back
Signed-off-by: jayzhan211 <[email protected]>
1 parent d2b4a16 commit c6bcf8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

datafusion/expr/src/type_coercion/binary.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ pub fn comparison_coercion(lhs_type: &DataType, rhs_type: &DataType) -> Option<D
291291
return Some(lhs_type.clone());
292292
}
293293

294-
compare_binary_numeric_coercion(lhs_type, rhs_type)
294+
comparison_binary_numeric_coercion(lhs_type, rhs_type)
295295
.or_else(|| dictionary_coercion(lhs_type, rhs_type, true))
296296
.or_else(|| temporal_coercion(lhs_type, rhs_type))
297297
.or_else(|| string_coercion(lhs_type, rhs_type))
@@ -357,7 +357,7 @@ fn string_temporal_coercion(
357357

358358
/// Coerce `lhs_type` and `rhs_type` to a common type for the purposes of a comparison operation
359359
/// 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(
361361
lhs_type: &DataType,
362362
rhs_type: &DataType,
363363
) -> Option<DataType> {
@@ -616,7 +616,7 @@ fn mathematics_numerical_coercion(
616616
(_, Dictionary(_, value_type)) => {
617617
mathematics_numerical_coercion(lhs_type, value_type)
618618
}
619-
_ => compare_binary_numeric_coercion(lhs_type, rhs_type),
619+
_ => comparison_binary_numeric_coercion(lhs_type, rhs_type),
620620
}
621621
}
622622

0 commit comments

Comments
 (0)