-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improvement](mtmv) Optimize the nested materialized view performance #34163
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
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
run buildall |
TPC-H: Total hot run time: 40184 ms |
TPC-DS: Total hot run time: 186363 ms |
| } | ||
| // TODO Support sync materialized view in the future | ||
| if (plan instanceof CatalogRelation && ((CatalogRelation) plan).getTable() instanceof MTMV) { | ||
| if (plan instanceof LogicalPlan && plan instanceof CatalogRelation |
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.
nit: please use LogicalCatalogRelation in next pr
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
1 similar comment
|
PR approved by anyone and no changes requested. |
…apache#34163) Record increase refersh version more accurately. The refreshVersion in the memo will increase when mv rewrite successfully. In query rewrite, if refresh version is different from the current struct info map in group, will refresh the group struct info or not.
…#34163) Record increase refersh version more accurately. The refreshVersion in the memo will increase when mv rewrite successfully. In query rewrite, if refresh version is different from the current struct info map in group, will refresh the group struct info or not.
Proposed changes
Record increase refersh version more accurately.
The refreshVersion in the memo will increase when mv rewrite successfully.
In query rewrite, if refresh version is different from the current struct info map in group , will refresh the group struct info or not.
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...