-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stats: limit the number of top-n items #11906
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11906 +/- ##
===========================================
Coverage ? 81.2248%
===========================================
Files ? 438
Lines ? 94236
Branches ? 0
===========================================
Hits ? 76543
Misses ? 12229
Partials ? 5464 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
/run-all-tests |
cherry pick to release-3.0 failed |
What problem does this PR solve?
What is changed and how it works?
The root cause is that analyze will generate topn items much more than expected, because we regard one item as topn as long as it occurs more than
last
times and does not limit the number of topn.This PR fixes it by limit the number of topn.
Check List
Tests
Code changes
Side effects
Related changes
Release note