public class AddExchangesBelowPartialAggregationOverGroupIdRuleSet extends Object
- Exchange
- [ Projection ]
- Partial Aggregation
- GroupId
to
- Exchange
- [ Projection ]
- Partial Aggregation
- GroupId
- LocalExchange
- RemoteExchange
Rationale: GroupId increases number of rows (number of times equal to number of grouping sets) and then partial aggregation reduces number of rows. However, under certain conditions, exchanging the rows before GroupId (before multiplication) makes partial aggregation more effective, resulting in less data being exchanged afterwards.
| Constructor and Description |
|---|
AddExchangesBelowPartialAggregationOverGroupIdRuleSet(Metadata metadata,
TypeAnalyzer typeAnalyzer,
TaskCountEstimator taskCountEstimator,
TaskManagerConfig taskManagerConfig) |
public AddExchangesBelowPartialAggregationOverGroupIdRuleSet(Metadata metadata, TypeAnalyzer typeAnalyzer, TaskCountEstimator taskCountEstimator, TaskManagerConfig taskManagerConfig)
Copyright © 2012–2019. All rights reserved.