Skip to content

Commit

Permalink
Update core/src/execution/datafusion/expressions/cast.rs
Browse files Browse the repository at this point in the history
Co-authored-by: comphead <[email protected]>
  • Loading branch information
andygrove and comphead authored Apr 23, 2024
1 parent 89e8cca commit 8a856d7
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 @@ -174,7 +174,7 @@ impl Cast {
DataType::Int64 => {
cast_utf8_to_integral!(string_array, eval_mode, Int64Type, cast_string_to_i64)?
}
_ => unreachable!("invalid integral type in cast from string"),
dt => unreachable!(format!("invalid integral type {dt} in cast from string")),
};
Ok(cast_array)
}
Expand Down

0 comments on commit 8a856d7

Please sign in to comment.