jayzhan211 commented on code in PR #9393:
URL: https://github.com/apache/arrow-datafusion/pull/9393#discussion_r1506850272
##########
datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs:
##########
@@ -523,9 +523,13 @@ impl<'a> ConstEvaluator<'a> {
DataFusionError::Execution(format!("Could not evaluate
the expression, found a result of length {}", a.len())),
expr,
)
- } else if as_list_array(&a).is_ok() ||
as_large_list_array(&a).is_ok() {
+ } else if as_list_array(&a).is_ok() {
ConstSimplifyResult::Simplified(ScalarValue::List(
Review Comment:
Main bug. It should be wrapped into ScalarValue::LargeList
--
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]