comphead commented on code in PR #9110:
URL: https://github.com/apache/arrow-datafusion/pull/9110#discussion_r1476350238


##########
datafusion/expr/src/built_in_function.rs:
##########
@@ -551,7 +551,12 @@ impl BuiltinScalarFunction {
                             DataType::List(_) => 
get_base_type(field.data_type()),
                             _ => Ok(data_type.to_owned()),
                         },
-                        _ => internal_err!("Not reachable, data_type should be 
List"),
+                        DataType::LargeList(field) => match field.data_type() {

Review Comment:
   we prob can use if guard here? 
   `DataType::LargeList(field) if field.data_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]

Reply via email to