placeholder for online_sample_rate_ in ObOptimizerStatsGatheringSpec
This commit is contained in:
@ -39,7 +39,8 @@ ObOptimizerStatsGatheringSpec::ObOptimizerStatsGatheringSpec(ObIAllocator &alloc
|
||||
target_osg_id_(OB_INVALID_ID),
|
||||
generated_column_exprs_(alloc),
|
||||
col_conv_exprs_(alloc),
|
||||
column_ids_(alloc)
|
||||
column_ids_(alloc),
|
||||
online_sample_rate_(1.)
|
||||
{
|
||||
}
|
||||
|
||||
@ -76,7 +77,8 @@ OB_SERIALIZE_MEMBER((ObOptimizerStatsGatheringSpec, ObOpSpec),
|
||||
target_osg_id_,
|
||||
generated_column_exprs_,
|
||||
col_conv_exprs_,
|
||||
column_ids_);
|
||||
column_ids_,
|
||||
online_sample_rate_);
|
||||
|
||||
ObOptimizerStatsGatheringOp::ObOptimizerStatsGatheringOp(ObExecContext &exec_ctx, const ObOpSpec &spec, ObOpInput *input)
|
||||
: ObOperator(exec_ctx, spec, input),
|
||||
@ -662,4 +664,4 @@ int ObOptimizerStatsGatheringOp::get_tab_stats(common::ObIArray<ObOptTableStat*>
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,6 +55,7 @@ public:
|
||||
ExprFixedArray generated_column_exprs_;
|
||||
ExprFixedArray col_conv_exprs_;
|
||||
ObFixedArray<uint64_t, common::ObIAllocator> column_ids_;
|
||||
double online_sample_rate_;
|
||||
};
|
||||
|
||||
class ObOptimizerStatsGatheringOp : public ObOperator
|
||||
@ -129,4 +130,4 @@ private:
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif /* SRC_SQL_ENGINE_BASIC_OB_MONITORING_DUMP_OP_H_ */
|
||||
#endif /* SRC_SQL_ENGINE_BASIC_OB_MONITORING_DUMP_OP_H_ */
|
||||
|
||||
Reference in New Issue
Block a user