From db04bc1999fedfba60ef20ad6aa199bd4010eb4e Mon Sep 17 00:00:00 2001 From: Louis Vialar Date: Fri, 19 Jun 2026 15:34:18 +0200 Subject: [PATCH] fix: type_union_resolution_coercion should use string_numeric_union_coercion instead of string_numeric_coercion --- datafusion/expr-common/src/type_coercion/binary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/expr-common/src/type_coercion/binary.rs b/datafusion/expr-common/src/type_coercion/binary.rs index e700d4a04da3b..e820b876ddba4 100644 --- a/datafusion/expr-common/src/type_coercion/binary.rs +++ b/datafusion/expr-common/src/type_coercion/binary.rs @@ -777,7 +777,7 @@ fn type_union_resolution_coercion( .or_else(|| temporal_coercion_nonstrict_timezone(lhs_type, rhs_type)) .or_else(|| string_coercion(lhs_type, rhs_type)) .or_else(|| null_coercion(lhs_type, rhs_type)) - .or_else(|| string_numeric_coercion(lhs_type, rhs_type)) + .or_else(|| string_numeric_union_coercion(lhs_type, rhs_type)) .or_else(|| binary_coercion(lhs_type, rhs_type)), } }