Skip to content

Commit

Permalink
Update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
rlwww committed Nov 9, 2023
1 parent 4e46c1d commit 14bc398
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions nemo/src/execution/planning/aggregates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ pub(super) fn generate_node_aggregate(
);

// Update variable order after aggregation
{
// Remove distinct and unused variables of the aggregate
variable_order = variable_order.restrict_to(aggregate_group_by_variables);
// Add aggregate output variable
variable_order.push(aggregate.output_variable.clone());
}
// Remove distinct and unused variables of the aggregate
variable_order = variable_order.restrict_to(aggregate_group_by_variables);
// Add aggregate output variable
variable_order.push(aggregate.output_variable.clone());
}

(node, variable_order)
Expand Down

0 comments on commit 14bc398

Please sign in to comment.