From 1aade96a2e1a6220621b5f1a7670e3f988547907 Mon Sep 17 00:00:00 2001 From: comphead Date: Tue, 27 Feb 2024 14:46:56 -0800 Subject: [PATCH] Update core/src/execution/datafusion/expressions/scalar_funcs.rs Co-authored-by: Liang-Chi Hsieh --- core/src/execution/datafusion/expressions/scalar_funcs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/execution/datafusion/expressions/scalar_funcs.rs b/core/src/execution/datafusion/expressions/scalar_funcs.rs index 4e951ad10..8ff13e125 100644 --- a/core/src/execution/datafusion/expressions/scalar_funcs.rs +++ b/core/src/execution/datafusion/expressions/scalar_funcs.rs @@ -392,7 +392,7 @@ fn spark_round( ScalarValue::Float32(_) | ScalarValue::Float64(_) => Ok(ColumnarValue::Scalar( ScalarValue::try_from_array(&math_expressions::round(&[a.to_array()?])?, 0)?, )), - dt => exec_err!("Not supported datatype[{dt}] for ROUND"), + dt => exec_err!("Not supported datatype for ROUND: {dt}"), }, } }