Skip to content

Commit

Permalink
fix coerce tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist committed Jun 4, 2023
1 parent 6a4a04d commit 8f68126
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datafusion/physical-expr/src/type_coercion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8f68126

Please sign in to comment.