serialization occupy in mergegroupby、windowfunction、hashgroupby

This commit is contained in:
lucky-sinx
2024-06-26 15:46:29 +00:00
committed by ob-robot
parent 95f76b27c0
commit 1a0e793ec1
6 changed files with 16 additions and 4 deletions

View File

@ -72,7 +72,8 @@ OB_SERIALIZE_MEMBER((ObWindowFunctionSpec, ObOpSpec),
role_type_,
wf_aggr_status_expr_,
input_rows_mem_bound_ratio_,
estimated_part_cnt_);
estimated_part_cnt_,
enable_hash_base_distinct_);
OB_SERIALIZE_MEMBER(ObWindowFunctionOpInput, local_task_count_, total_task_count_, wf_participator_shared_info_);

View File

@ -229,7 +229,8 @@ public:
role_type_(0),
wf_aggr_status_expr_(NULL),
input_rows_mem_bound_ratio_(0.5),
estimated_part_cnt_(1)
estimated_part_cnt_(1),
enable_hash_base_distinct_(false)
{
}
DECLARE_VIRTUAL_TO_STRING;
@ -293,6 +294,7 @@ public:
// The percentage of memory used by input_rows to the total memory used by input_rows and res_rows
double input_rows_mem_bound_ratio_;
int64_t estimated_part_cnt_;
bool enable_hash_base_distinct_;
private:
// disallow copy