Github user hbdeshmukh commented on the issue: https://github.com/apache/incubator-quickstep/pull/96 @zuyu I described the motivation for this operator in the JIRA issue, I will rephrase it here. > Background: We use a class called AggregationState that manages the aggregation related data structures during the execution of a query. At present this class is destroyed through the FinalizeAggregation work order, which is executed by a single thread. > In the future, we would like to parallelize the FinalizeAggregation operator. Therefore for the destruction of the AggregationState, we need for a separate operator. This design pattern is similar to what is used in HashJoins, where we have a separate DestroyHashOperator. >
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---