From ce2752bad663c3543a8a93a936cff39d5711c9bd Mon Sep 17 00:00:00 2001 From: Bruce Ritchie Date: Mon, 12 Feb 2024 09:23:56 -0500 Subject: [PATCH] Update datafusion/physical-expr/src/datetime_expressions.rs Co-authored-by: Andrew Lamb --- datafusion/physical-expr/src/datetime_expressions.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/datafusion/physical-expr/src/datetime_expressions.rs b/datafusion/physical-expr/src/datetime_expressions.rs index bc8f135397f2..aab4997807cd 100644 --- a/datafusion/physical-expr/src/datetime_expressions.rs +++ b/datafusion/physical-expr/src/datetime_expressions.rs @@ -627,6 +627,7 @@ fn _build_format_options<'a>( Ok(format_options) } +/// Special version when arg[1] is a scalar fn _to_char_scalar(args: &[ArrayRef]) -> Result { if &DataType::Utf8 != args[1].data_type() { return exec_err!(