Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Feb 25, 2025
1 parent 343eb8c commit ee057fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/functions/src/datetime/to_char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl ScalarUDFImpl for ToCharFunc {
// constant format
ColumnarValue::Scalar(ScalarValue::Utf8(Some(format))) => {
// invoke to_char_scalar with the known string, without converting to array
_to_char_scalar(date_time.clone(), Some(&format))
_to_char_scalar(date_time.clone(), Some(format))
}
ColumnarValue::Array(_) => _to_char_array(&args),
_ => {
Expand Down

0 comments on commit ee057fe

Please sign in to comment.