[Improvement](topn) add limit threashold session variable and fuzzy for topn optimizations (#16514)

1. add limit threshold for topn runtime pushdown and key topn optimization
2. use unified session variable topn_opt_limit_threshold for all topn optimizations
3. add fuzzy support for topn_opt_limit_threshold
This commit is contained in:
Kang
2023-02-10 12:56:33 +08:00
committed by GitHub
parent 8758cd412f
commit d9924c9b8e
8 changed files with 88 additions and 24 deletions

View File

@ -1969,9 +1969,6 @@ public class Config extends ConfigBase {
@ConfField(masterOnly = true, mutable = true)
public static int max_error_tablet_of_broker_load = 3;
@ConfField(mutable = false)
public static int topn_two_phase_limit_threshold = 512;
/**
* Used to set session variables randomly to check more issues in github workflow
*/