alamb commented on a change in pull request #929:
URL: https://github.com/apache/arrow-datafusion/pull/929#discussion_r693976120
##########
File path: datafusion/src/optimizer/utils.rs
##########
@@ -195,11 +195,21 @@ pub fn from_plan(
schema: schema.clone(),
alias: alias.clone(),
}),
+ LogicalPlan::Analyze {
+ verbose, schema, ..
+ } => {
+ assert!(expr.is_empty());
Review comment:
Here is the actual bug fix: the code that builds up LogicalPlans from
optimized inputs ignored the inputs for Analyze. I have a follow on PR to try
and make this kind of thing harder to introduce in the future:
https://github.com/apache/arrow-datafusion/pull/930
--
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]