[CodeStyle] Delete obsolete code of partition_aggregation_node and partitioned_hash_table (#3162)
This commit is contained in:
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user