liukun4515 commented on a change in pull request #1969:
URL: https://github.com/apache/arrow-datafusion/pull/1969#discussion_r833836718
##########
File path: datafusion/src/physical_plan/functions.rs
##########
@@ -111,6 +112,11 @@ pub fn return_type(
utf8_to_int_type(&input_expr_types[0], "character_length")
}
BuiltinScalarFunction::Chr => Ok(DataType::Utf8),
+ BuiltinScalarFunction::Coalesce => {
+ // COALESCE has multiple args and they might get coerced, get a
preview of this
+ let coerced_types = data_types(input_expr_types, &signature(fun));
Review comment:
Is there any doc or reference to guide for the common result type or the
coercion type?
--
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]