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() {