[feat](stats) Add option to config file to enable or disable analyze function (#19062)
Add this option in conf:
/**
* If set false, user couldn't submit analyze SQL and FE won't allocate any related resources.
*/
@ConfField
public static boolean enable_stats = true;
It will be checked during analyze of analyze related stmt and init analyze manager
This commit is contained in:
@ -2149,5 +2149,11 @@ public class Config extends ConfigBase {
|
||||
*/
|
||||
@ConfField(mutable = false)
|
||||
public static boolean skip_localhost_auth_check = false;
|
||||
|
||||
/**
|
||||
* If set false, user couldn't submit analyze SQL and FE won't allocate any related resources.
|
||||
*/
|
||||
@ConfField
|
||||
public static boolean enable_stats = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user