fix some bugs in boundary cases of optimizer stats

This commit is contained in:
wangt1xiuyi
2024-02-09 02:21:57 +00:00
committed by ob-robot
parent 5b3d47bf61
commit 6f53716d27
7 changed files with 82 additions and 34 deletions

View File

@ -57,6 +57,8 @@ public:
static bool is_stats_job(const ObString &job_name);
static int reset_opt_stats_user_infos(ObIArray<const ObUserInfo *> &user_infos);
private:
static int get_window_job_info(const int64_t current_time,
const int64_t nth_window,