From b621437109f6b3aa3d4c961f74b8cc6be78c824f Mon Sep 17 00:00:00 2001 From: Weijun-H Date: Thu, 8 Feb 2024 11:09:27 +0800 Subject: [PATCH] chore --- datafusion/expr/src/type_coercion/binary.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion/expr/src/type_coercion/binary.rs b/datafusion/expr/src/type_coercion/binary.rs index a54e88dd879f8..5f9dd94be42f3 100644 --- a/datafusion/expr/src/type_coercion/binary.rs +++ b/datafusion/expr/src/type_coercion/binary.rs @@ -301,7 +301,7 @@ pub fn comparison_coercion(lhs_type: &DataType, rhs_type: &DataType) -> Option Option Option { +fn null_coercion(lhs_type: &DataType, rhs_type: &DataType) -> Option { match (lhs_type, rhs_type) { (DataType::Null, other_type) | (other_type, DataType::Null) => { if can_cast_types(&DataType::Null, other_type) {