jayzhan211 commented on code in PR #8902:
URL: https://github.com/apache/arrow-datafusion/pull/8902#discussion_r1468733525
##########
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:
I still think we can have fixed size list to list conversion in one place.
Currently, it converts both in here and `coerce_arguments_for_fun`, right?
Is it possible to have it once?
--
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]