Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Apr 27, 2024
1 parent 6cea67f commit ff70567
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core/src/execution/datafusion/expressions/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,7 @@ fn cast_string_to_i16(str: &str, eval_mode: EvalMode) -> CometResult<Option<i16>
}

fn cast_string_to_i32(str: &str, eval_mode: EvalMode) -> CometResult<Option<i32>> {
Ok(do_cast_string_to_int::<i32>(
str,
eval_mode,
"INT",
i32::MIN,
)?)
do_cast_string_to_int::<i32>(str, eval_mode, "INT", i32::MIN)
}

fn cast_string_to_i64(str: &str, eval_mode: EvalMode) -> CometResult<Option<i64>> {
Expand Down

0 comments on commit ff70567

Please sign in to comment.