[feature](stats) Enable period time with cron expr (#22095)

Support such grammar

ANALYZE TABLE test WITH CRON "* * * * * ?"

Such job would be scheduled as the cron expr specifie, but natively support minute-level schedule only
This commit is contained in:
AKIRA
2023-07-26 17:25:57 +08:00
committed by GitHub
parent 964ac4e601
commit 582acad8a1
10 changed files with 98 additions and 14 deletions

View File

@ -1470,7 +1470,7 @@ public class Config extends ConfigBase {
* the system automatically checks the time interval for statistics
*/
@ConfField(mutable = true, masterOnly = true)
public static int auto_check_statistics_in_minutes = 5;
public static int auto_check_statistics_in_minutes = 1;
/**
* If this configuration is enabled, you should also specify the trace_export_url.