-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Feature](topn) change topn_filter_limit_threshold to topn_filter_ratio #41066
Conversation
run buildall |
run buildall |
run buildall |
@@ -1520,8 +1520,8 @@ public void setEnableLeftZigZag(boolean enableLeftZigZag) { | |||
public boolean enableTwoPhaseReadOpt = true; | |||
@VariableMgr.VarAttr(name = TOPN_OPT_LIMIT_THRESHOLD) | |||
public long topnOptLimitThreshold = 1024; | |||
@VariableMgr.VarAttr(name = TOPN_FILTER_LIMIT_THRESHOLD) | |||
public long topnFilterLimitThreshold = 10240000; |
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.
topnFilterLimitThreshold is also used in PushTopnToAgg
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.
Now this parameter is divided into topnFilterLimitThreshold and topnOptLimitThreshold. topnFilterLimitThreshold only affects topn filter planning.
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
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
Proposed changes
change topn_filter_limit_threshold to topn_filter_ratio