Skip to content

Commit

Permalink
improve error message again
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Rastogi authored and Rohit Rastogi committed May 8, 2024
1 parent e4c8a47 commit a854eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/execution/datafusion/expressions/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ impl Cast {
}
_ => unreachable!(
"{}",
format!("invalid non-integral numeric type {to_type} in cast from {from_type}")
format!("invalid cast from non-integral numeric type: {from_type} to integral numeric type: {to_type}")
),
}
}
Expand Down

0 comments on commit a854eb9

Please sign in to comment.