jayzhan211 commented on code in PR #8902:
URL: https://github.com/apache/arrow-datafusion/pull/8902#discussion_r1461742771
##########
datafusion/expr/src/type_coercion/functions.rs:
##########
@@ -311,6 +329,8 @@ fn coerced_from<'a>(
Utf8 | LargeUtf8 => Some(type_into.clone()),
Null if can_cast_types(type_from, type_into) =>
Some(type_into.clone()),
+ List(_) if matches!(type_from, FixedSizeList(_, _)) =>
Some(type_into.clone()),
Review Comment:
One is coerced based on function, another is based on signature. If we
target to convert from fixedsizelist to list, it seems
`coerce_arguments_for_fun` is more suitable.
--
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]