andygrove commented on code in PR #3739:
URL: https://github.com/apache/arrow-datafusion/pull/3739#discussion_r989352473
##########
datafusion/optimizer/src/projection_push_down.rs:
##########
@@ -332,16 +330,6 @@ fn optimize_plan(
}
})?;
- let new_schema = DFSchema::new_with_metadata(
- schema
- .fields()
- .iter()
- .filter(|x|
new_required_columns.contains(&x.qualified_column()))
- .cloned()
- .collect(),
- schema.metadata().clone(),
- )?;
Review Comment:
This code was problematic and is now replaced with the code used elsewhere
--
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]