[FEAT MERGE]support ddl real time monitoring
This commit is contained in:
@ -279,7 +279,7 @@ int ObAggregateProcessor::ExtraResult::init_distinct_set(const uint64_t tenant_i
|
||||
ret = OB_ALLOCATE_MEMORY_FAILED;
|
||||
LOG_WARN("fall to alloc buff", "size", sizeof(ObUniqueSortImpl), K(ret));
|
||||
} else {
|
||||
new (unique_sort_op_) ObUniqueSortImpl();
|
||||
new (unique_sort_op_) ObUniqueSortImpl(op_monitor_info_);
|
||||
if (OB_FAIL(unique_sort_op_->init(tenant_id,
|
||||
&aggr_info.distinct_collations_,
|
||||
&aggr_info.distinct_cmp_funcs_,
|
||||
@ -320,7 +320,7 @@ int ObAggregateProcessor::GroupConcatExtraResult::init(const uint64_t tenant_id,
|
||||
ret = OB_ALLOCATE_MEMORY_FAILED;
|
||||
LOG_WARN("fall to alloc buff", "size", sizeof(ObSortOpImpl), K(ret));
|
||||
} else {
|
||||
new (sort_op_) ObSortOpImpl();
|
||||
new (sort_op_) ObSortOpImpl(op_monitor_info_);
|
||||
if (OB_FAIL(sort_op_->init(tenant_id,
|
||||
&aggr_info.sort_collations_,
|
||||
&aggr_info.sort_cmp_funcs_,
|
||||
|
||||
@ -271,6 +271,7 @@ public:
|
||||
DECLARE_VIRTUAL_TO_STRING;
|
||||
protected:
|
||||
common::ObIAllocator &alloc_;
|
||||
ObMonitorNode op_monitor_info_;
|
||||
public:
|
||||
// for distinct calculate may be replace by hash based distinct in the future.
|
||||
ObUniqueSortImpl *unique_sort_op_;
|
||||
|
||||
@ -99,7 +99,7 @@ public:
|
||||
is_first_calc_(true),
|
||||
cur_group_last_row_idx_(-1),
|
||||
use_sort_data_(false),
|
||||
inner_sort_(),
|
||||
inner_sort_(op_monitor_info_),
|
||||
rollup_hash_vals_(nullptr),
|
||||
ndv_calculator_(nullptr),
|
||||
global_rollup_key_(),
|
||||
|
||||
Reference in New Issue
Block a user