File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
statistics/handle/handletest/analyze Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2945,7 +2945,7 @@ var CMSketchSizeLimit = kv.TxnEntrySizeLimit / binary.MaxVarintLen32
2945
2945
2946
2946
var analyzeOptionLimit = map [ast.AnalyzeOptionType ]uint64 {
2947
2947
ast .AnalyzeOptNumBuckets : 1024 ,
2948
- ast .AnalyzeOptNumTopN : 1024 ,
2948
+ ast .AnalyzeOptNumTopN : 16384 ,
2949
2949
ast .AnalyzeOptCMSketchWidth : CMSketchSizeLimit ,
2950
2950
ast .AnalyzeOptCMSketchDepth : CMSketchSizeLimit ,
2951
2951
ast .AnalyzeOptNumSamples : 500000 ,
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ func TestAnalyzeGlobalStatsWithOpts1(t *testing.T) {
154
154
{77 , 219 , false },
155
155
{- 31 , 222 , true },
156
156
{10 , - 77 , true },
157
- {10000 , 47 , true },
157
+ {100000 , 47 , true },
158
158
{77 , 47000 , true },
159
159
}
160
160
for _ , ca := range cases {
You can’t perform that action at this time.
0 commit comments