diff --git a/core/src/execution/datafusion/expressions/cast.rs b/core/src/execution/datafusion/expressions/cast.rs index 8514f6242..5f88cefbb 100644 --- a/core/src/execution/datafusion/expressions/cast.rs +++ b/core/src/execution/datafusion/expressions/cast.rs @@ -263,12 +263,7 @@ fn cast_string_to_i16(str: &str, eval_mode: EvalMode) -> CometResult } fn cast_string_to_i32(str: &str, eval_mode: EvalMode) -> CometResult> { - Ok(do_cast_string_to_int::( - str, - eval_mode, - "INT", - i32::MIN, - )?) + do_cast_string_to_int::(str, eval_mode, "INT", i32::MIN) } fn cast_string_to_i64(str: &str, eval_mode: EvalMode) -> CometResult> {