diff --git a/core/src/execution/datafusion/expressions/scalar_funcs/chr.rs b/core/src/execution/datafusion/expressions/scalar_funcs/chr.rs index af9cf88d5..3d62d324c 100644 --- a/core/src/execution/datafusion/expressions/scalar_funcs/chr.rs +++ b/core/src/execution/datafusion/expressions/scalar_funcs/chr.rs @@ -107,7 +107,9 @@ fn handle_chr_fn(args: &[ColumnarValue]) -> Result { } ColumnarValue::Scalar(ScalarValue::Int64(Some(value))) => { match core::char::from_u32(value as u32) { - Some(ch) => Ok(ColumnarValue::Scalar(ScalarValue::Utf8(Some(ch.to_string())))), + Some(ch) => Ok(ColumnarValue::Scalar(ScalarValue::Utf8(Some( + ch.to_string(), + )))), None => exec_err!("requested character too large for encoding."), } }