Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Apr 19, 2024
1 parent 26af2fc commit c90cce9
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 @@ -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(),
Expand Down

0 comments on commit c90cce9

Please sign in to comment.