Omega359 commented on code in PR #9241:
URL: https://github.com/apache/arrow-datafusion/pull/9241#discussion_r1495057845
##########
datafusion/physical-expr/src/functions.rs:
##########
@@ -436,7 +437,7 @@ pub fn create_physical_fun(
DataType::LargeUtf8 => {
make_scalar_function_inner(string_expressions::ascii::<i64>)(args)
}
- other => internal_err!("Unsupported data type {other:?} for
function ascii"),
+ other => exec_err!("Unsupported data type {other:?} for function
ascii"),
Review Comment:
I could do that. It's unfortunate that this type of error can't be validated
and caught at compile time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]