Skip to content

[feat](nereids)set runtime filter wait time according to table row count and table type - #42640

Merged
englefly merged 1 commit into
apache:masterfrom
englefly:rf-wait-rowcount
Nov 11, 2024
Merged

[feat](nereids)set runtime filter wait time according to table row count and table type#42640
englefly merged 1 commit into
apache:masterfrom
englefly:rf-wait-rowcount

Conversation

@englefly

@engleflyenglefly commented Oct 28, 2024

Copy link
Copy Markdown
Contributor

Proposed changes

adjust compute rf wait time according to max table row count, if wait time is not default value

  • olap:
    -- row < 1G: 1 sec
    -- 1G <= row < 10G: 5 sec
    -- 10G < row: 20 sec
  • external:
    -- row < 1G: 5 sec
    -- 1G <= row < 10G: 10 sec
    -- 10G < row: 50 sec

Issue Number: close #xxx

@doris-robot

Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@englefly

Copy link
Copy Markdown
ContributorAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:
----------
In tools/tpch-tools/bin/run-tpch-queries.sh line 179:
run_sql "source ${backup_session_variables_file};"
^-- SC2154 (warning): backup_session_variables_file is referenced but not assigned.
For more information:
https://www.shellcheck.net/wiki/SC2154 -- backup_session_variables_file is ...
----------
You can address the above issues in one of three ways:
1. Manually correct the issue in the offending shell script;
2. Disable specific issues by adding the comment:
# shellcheck disable=NNNN
above the line that contains the issue, where NNNN is the error code;
3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.
shfmt errors
'shfmt ' found no issues.

@englefly

Copy link
Copy Markdown
ContributorAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

sh-checker report

To get the full details, please check in the job output.

shellcheck errors
'shellcheck ' found no issues.
shfmt errors

'shfmt ' returned error 1 finding the following formatting issues:
----------
--- tools/tpch-tools/bin/run-tpch-queries.sh.orig
+++ tools/tpch-tools/bin/run-tpch-queries.sh
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename

@morrySnow

Copy link
Copy Markdown
Contributor

add desc please

Comment threadfe/.idea/vcs.xml
Comment threadfe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java Outdated
@englefly

Copy link
Copy Markdown
ContributorAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

sh-checker report

To get the full details, please check in the job output.

shellcheck errors
'shellcheck ' found no issues.
shfmt errors

'shfmt ' returned error 1 finding the following formatting issues:
----------
--- tools/tpch-tools/bin/run-tpch-queries.sh.orig
+++ tools/tpch-tools/bin/run-tpch-queries.sh
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

sh-checker report

To get the full details, please check in the job output.

shellcheck errors
'shellcheck ' found no issues.
shfmt errors

'shfmt ' returned error 1 finding the following formatting issues:
----------
--- tools/tpch-tools/bin/run-tpch-queries.sh.orig
+++ tools/tpch-tools/bin/run-tpch-queries.sh
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename

@englefly

Copy link
Copy Markdown
ContributorAuthor

run buildall

starocean999
starocean999 previously approved these changes Nov 4, 2024
@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Nov 4, 2024
@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.


@VariableMgr.VarAttr(name = RUNTIME_FILTER_WAIT_TIME_MS, needForward = true)
private int runtimeFilterWaitTimeMs = 1000;
public int runtimeFilterWaitTimeMs = 1000;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why change this but use the setRuntimeFilterWaitTimeMs instead?

Comment threadfe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java Outdated
@github-actionsgithub-actionsBot removed the approved Indicates a PR has been approved by one committer. label Nov 4, 2024
@englefly

Copy link
Copy Markdown
ContributorAuthor

run buildall

@englefly

Copy link
Copy Markdown
ContributorAuthor

run p0

@englefly

Copy link
Copy Markdown
ContributorAuthor

run cloud_p0

@englefly

Copy link
Copy Markdown
ContributorAuthor

run buildall

@englefly

Copy link
Copy Markdown
ContributorAuthor

run buildall

@englefly

Copy link
Copy Markdown
ContributorAuthor

run buildall

@englefly

Copy link
Copy Markdown
ContributorAuthor

run external

@englefly

Copy link
Copy Markdown
ContributorAuthor

run p0

@englefly

Copy link
Copy Markdown
ContributorAuthor

run cloud_p0

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Nov 11, 2024
@github-actions

Copy link
Copy Markdown
Contributor

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

@englefly
englefly merged commit 1d8f6d7 into apache:masterNov 11, 2024
@englefly
englefly deleted the rf-wait-rowcount branch November 11, 2024 08:00
englefly added a commit to englefly/incubator-doris that referenced this pull request Nov 15, 2024
…unt and table type (apache#42640)
adjust compute rf wait time according to max table row count, if wait
time is not default value
- olap:
-- row < 1G: 1 sec
-- 1G <= row < 10G: 5 sec
-- 10G < row: 20 sec
- external:
-- row < 1G: 5 sec
-- 1G <= row < 10G: 10 sec
-- 10G < row: 50 sec
Issue Number: close #xxx
<!--Describe your changes.-->
dataroaring pushed a commit that referenced this pull request Nov 29, 2024
englefly added a commit that referenced this pull request Dec 9, 2024
…unt and table type #42640 branch-2.1 (#45114)
### What problem does this PR solve?
pick#42640
@yiguoleiyiguolei mentioned this pull request Jan 19, 2025
@gavinchougavinchou mentioned this pull request Feb 18, 2025
HappenLee pushed a commit to HappenLee/incubator-doris that referenced this pull request Apr 24, 2026
…unt and table type (apache#42640)
## Proposed changes
adjust compute rf wait time according to max table row count, if wait
time is not default value
- olap:
-- row < 1G: 1 sec
-- 1G <= row < 10G: 5 sec
-- 10G < row: 20 sec
- external:
-- row < 1G: 5 sec
-- 1G <= row < 10G: 10 sec
-- 10G < row: 50 sec
Issue Number: close #xxx
<!--Describe your changes.-->
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.dev/2.1.8-mergeddev/3.0.4-mergedreviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@englefly@doris-robot@morrySnow@starocean999@LiBinfeng-01@xzj7019@wm1581066@dataroaring