diff --git a/datafusion/physical-expr/src/type_coercion.rs b/datafusion/physical-expr/src/type_coercion.rs index d83491bd79ee1..32f91d6948665 100644 --- a/datafusion/physical-expr/src/type_coercion.rs +++ b/datafusion/physical-expr/src/type_coercion.rs @@ -131,11 +131,11 @@ mod tests { Signature::variadic(vec![DataType::Float32], Volatility::Immutable), vec![DataType::Float32, DataType::Float32], )?, - // for variadic equal, no casting is performed + // u32 -> u64 case( - vec![DataType::Float32, DataType::UInt32], - Signature::variadic_equal(vec![DataType::Float32], Volatility::Immutable), - vec![DataType::Float32, DataType::Float32], + vec![DataType::UInt64, DataType::UInt32], + Signature::variadic_equal(vec![DataType::UInt64, DataType::UInt32], Volatility::Immutable), + vec![DataType::UInt64, DataType::UInt64], )?, // common type is u64 case(