From dbff9d7a89746cd71b8fb68fbfbed368cc9902ff Mon Sep 17 00:00:00 2001 From: Dongyang Li Date: Fri, 24 Nov 2023 14:08:27 +0800 Subject: [PATCH] [chore](fuzzy) topn_opt_limit_threshold (#27496) --- .../src/main/java/org/apache/doris/qe/SessionVariable.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java index 3adfbc0d1a..51f8f4ecbf 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java +++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java @@ -1490,10 +1490,7 @@ public class SessionVariable implements Serializable, Writable { } // set random 1, 10, 100, 1000, 10000 - // this.topnOptLimitThreshold = (int) Math.pow(10, random.nextInt(5)); - // Now P0 test have some failed cese about topn, but can't reproduce at local - // So set this threshold to 0 temporary. - this.topnOptLimitThreshold = 0; + this.topnOptLimitThreshold = (int) Math.pow(10, random.nextInt(5)); } public String printFuzzyVariables() {