[CP] Fix window function spec member not serialized

This commit is contained in:
hezuojiao 2024-02-08 08:24:58 +00:00 committed by ob-robot
parent 9a61edbf3a
commit 68dec0b1d6
2 changed files with 9 additions and 2 deletions

View File

@ -70,7 +70,9 @@ OB_SERIALIZE_MEMBER((ObWindowFunctionSpec, ObOpSpec),
rd_sort_cmp_funcs_,
rd_pby_sort_cnt_,
role_type_,
wf_aggr_status_expr_);
wf_aggr_status_expr_,
input_rows_mem_bound_ratio_,
estimated_part_cnt_);
OB_SERIALIZE_MEMBER(ObWindowFunctionOpInput, local_task_count_, total_task_count_, wf_participator_shared_info_);

View File

@ -227,7 +227,9 @@ public:
rd_sort_cmp_funcs_(alloc),
rd_pby_sort_cnt_(0),
role_type_(0),
wf_aggr_status_expr_(NULL)
wf_aggr_status_expr_(NULL),
input_rows_mem_bound_ratio_(0.5),
estimated_part_cnt_(1)
{
}
DECLARE_VIRTUAL_TO_STRING;
@ -288,6 +290,9 @@ public:
int64_t rd_pby_sort_cnt_;
int64_t role_type_;
ObExpr *wf_aggr_status_expr_;
// 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_;
private:
// disallow copy