Skip to content

Commit

Permalink
Update optimize_projections.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
berkaysynnada committed May 16, 2024
1 parent e4645a5 commit 67b1070
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,7 @@ impl ProjectionOptimizer {
) {
if window_exprs.iter().any(|expr| {
expr.clone()
.update_expression(&ExprMapping::new(IndexMap::new()))
.update_expression(&ExprMapping::new(self.schema_mapping.clone()))
.is_none()
}) {
self.children_nodes[0].required_columns = self
Expand Down

0 comments on commit 67b1070

Please sign in to comment.