[FEAT MERGE][CP]optimizer stats enhancement
This commit is contained in:
@ -1199,7 +1199,7 @@ int ObDelUpdLogPlan::allocate_optimizer_stats_gathering_as_top(ObLogicalOperator
|
||||
LOG_WARN("failed to allocate sequence operator", K(ret));
|
||||
} else {
|
||||
OSG_TYPE type = old_top->need_osg_merge() ? OSG_TYPE::MERGE_OSG :
|
||||
old_top->is_distributed() ? OSG_TYPE::GATHER_OSG : OSG_TYPE::NORMAL_OSG;
|
||||
old_top->is_sharding() ? OSG_TYPE::GATHER_OSG : OSG_TYPE::NORMAL_OSG;
|
||||
osg->set_child(ObLogicalOperator::first_child, old_top);
|
||||
osg->set_osg_type(type);
|
||||
osg->set_table_id(info.table_id_);
|
||||
|
||||
Reference in New Issue
Block a user