Skip to content
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

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

BiteTheDDDDt
Copy link
Contributor

Proposed changes

change topn_filter_limit_threshold to topn_filter_ratio

@BiteTheDDDDt
Copy link
Contributor Author

run buildall

@BiteTheDDDDt
Copy link
Contributor Author

run buildall

@BiteTheDDDDt
Copy link
Contributor Author

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;
Copy link
Contributor

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

Copy link
Contributor Author

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.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Sep 24, 2024
Copy link
Contributor

PR approved by at least one committer and no changes requested.

Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@zclllyybb zclllyybb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BiteTheDDDDt BiteTheDDDDt merged commit 16b6174 into apache:master Sep 24, 2024
27 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. kind/behavior-changed reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants