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

[pick](nereids) using mv's derived stats (#35721) #37098

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

englefly
Copy link
Contributor

@englefly englefly commented Jul 1, 2024

for a given mv, we have 2 stats. one is generated by stats analyzer, which is accurate, another is derived stats, which is derived when optimizer runs the mv query.
If a query tree contains a mv, we will use the mv's derived stats to derive stats for the whole tree.

(cherry picked from commit a481d79)

Proposed changes

Issue Number: close #xxx

for a given mv, we have 2 stats. one is generated by stats analyzer,
which is accurate, another is derived stats, which is derived when
optimizer runs the mv query.
If a query tree contains a mv, we will use the mv's derived stats to
derive stats for the whole tree.

(cherry picked from commit a481d79)
@doris-robot
Copy link

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
Contributor Author

englefly commented Jul 1, 2024

run buildall

@englefly
Copy link
Contributor Author

englefly commented Jul 2, 2024

run p0

@englefly englefly merged commit 0c89346 into apache:branch-2.1 Jul 2, 2024
21 of 22 checks passed
@yiguolei yiguolei mentioned this pull request Jul 19, 2024
1 task
@englefly englefly deleted the pick35721 branch November 30, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants