Skip to content

Commit

Permalink
Update datafusion/physical-expr/src/datetime_expressions.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
Omega359 and alamb authored Feb 12, 2024
1 parent f3b4873 commit ce2752b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datafusion/physical-expr/src/datetime_expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ColumnarValue> {
if &DataType::Utf8 != args[1].data_type() {
return exec_err!(
Expand Down

0 comments on commit ce2752b

Please sign in to comment.