[CodeStyle] Delete obsolete code of partition_aggregation_node and partitioned_hash_table (#3162)

This commit is contained in:
HappenLee
2020-03-20 16:25:29 +08:00
committed by GitHub
parent c08d6e4708
commit 5a8fcd263f
10 changed files with 1 additions and 3832 deletions

View File

@ -25,7 +25,6 @@
#include "common/status.h"
#include "exprs/expr_context.h"
#include "exec/aggregation_node.h"
#include "exec/partitioned_aggregation_node.h"
#include "exec/new_partitioned_aggregation_node.h"
#include "exec/csv_scan_node.h"
#include "exec/es_scan_node.h"
@ -381,9 +380,7 @@ Status ExecNode::create_node(RuntimeState* state, ObjectPool* pool, const TPlanN
return Status::OK();
case TPlanNodeType::AGGREGATION_NODE:
if (config::enable_partitioned_aggregation) {
*node = pool->add(new PartitionedAggregationNode(pool, tnode, descs));
} else if (config::enable_new_partitioned_aggregation) {
if (config::enable_new_partitioned_aggregation) {
*node = pool->add(new NewPartitionedAggregationNode(pool, tnode, descs));
} else {
*node = pool->add(new AggregationNode(pool, tnode, descs));