disable gather histogram for granularity=>'auto' when subpart type is not list or range

This commit is contained in:
obdev
2023-04-03 18:41:47 +00:00
committed by ob-robot
parent 549bc94821
commit f4bc31c683
17 changed files with 342 additions and 448 deletions

View File

@ -91,10 +91,9 @@ int ObTableStatParam::assign(const ObTableStatParam &other)
sample_info_.sample_value_ = other.sample_info_.sample_value_;
method_opt_ = other.method_opt_;
degree_ = other.degree_;
need_global_ = other.need_global_;
need_approx_global_ = other.need_approx_global_;
need_part_ = other.need_part_;
need_subpart_ = other.need_subpart_;
global_stat_param_ = other.global_stat_param_;
part_stat_param_ = other.part_stat_param_;
subpart_stat_param_ = other.subpart_stat_param_;
granularity_ = other.granularity_;
cascade_ = other.cascade_;
stat_tab_ = other.stat_tab_;
@ -149,10 +148,9 @@ int ObTableStatParam::assign_common_property(const ObTableStatParam &other)
sample_info_.sample_value_ = other.sample_info_.sample_value_;
method_opt_ = other.method_opt_;
degree_ = other.degree_;
need_global_ = other.need_global_;
need_approx_global_ = other.need_approx_global_;
need_part_ = other.need_part_;
need_subpart_ = other.need_subpart_;
global_stat_param_ = other.global_stat_param_;
part_stat_param_ = other.part_stat_param_;
subpart_stat_param_ = other.subpart_stat_param_;
granularity_ = other.granularity_;
cascade_ = other.cascade_;
stat_tab_ = other.stat_tab_;