From c90cce9804f1bd1c9ede136a96029b800bda197e Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Fri, 19 Apr 2024 12:57:35 -0600 Subject: [PATCH] clippy --- core/src/execution/datafusion/expressions/cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/execution/datafusion/expressions/cast.rs b/core/src/execution/datafusion/expressions/cast.rs index 2dc2ce62d..ca9916f74 100644 --- a/core/src/execution/datafusion/expressions/cast.rs +++ b/core/src/execution/datafusion/expressions/cast.rs @@ -121,7 +121,7 @@ impl Cast { "t" | "true" | "y" | "yes" | "1" => Ok(Some(true)), "f" | "false" | "n" | "no" | "0" => Ok(Some(false)), other if ansi_mode => { - return Err(CometError::CastInvalidValue { + Err(CometError::CastInvalidValue { value: other.to_string(), from_type: "STRING".to_string(), to_type: "BOOLEAN".to_string(),