From 14bc39833baa41ece4ec1df06183c02b1d84112a Mon Sep 17 00:00:00 2001 From: rlwww <109952799+rlwww@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:06:47 +0100 Subject: [PATCH] Update code style --- nemo/src/execution/planning/aggregates.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/nemo/src/execution/planning/aggregates.rs b/nemo/src/execution/planning/aggregates.rs index 1adae912a..ff06dc9b1 100644 --- a/nemo/src/execution/planning/aggregates.rs +++ b/nemo/src/execution/planning/aggregates.rs @@ -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)