-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](mtmv) Fix exception when calc mtmv function dependency but the table in mtmv def sql is deleted #50096
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
[fix](mtmv) Fix exception when calc mtmv function dependency but the table in mtmv def sql is deleted #50096
Conversation
…table in mtmv def sql is deleted
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
| // select ${dbName2}.${mvName} should not throw exception | ||
| sql """ | ||
| select count(*) from ${dbName2}.${mvName} | ||
| """ |
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.
we should expect some result even if it's an expected error
|
run buildall |
TPC-H: Total hot run time: 33862 ms |
TPC-DS: Total hot run time: 192240 ms |
|
run buildall |
ClickBench: Total hot run time: 29.56 s |
TPC-H: Total hot run time: 34004 ms |
TPC-DS: Total hot run time: 184472 ms |
ClickBench: Total hot run time: 30.23 s |
|
PR approved by at least one committer and no changes requested. |
…table in mtmv def sql is deleted (#50096) Fix exception when calc mtmv function dependency but the table in mtmv def sql is deleted if mv2 use table1. if table1 is deleted, selelct count(*) from mv2 should not throw exception.
…table in mtmv def sql is deleted (apache#50096) Fix exception when calc mtmv function dependency but the table in mtmv def sql is deleted if mv2 use table1. if table1 is deleted, selelct count(*) from mv2 should not throw exception.
What problem does this PR solve?
Fix exception when calc mtmv function dependency but the table in mtmv def sql is deleted
if mv2 use table1.
if table1 is deleted, selelct count(*) from mv2 should not throw exception.
Issue Number: close #xxx
Related PR: #48222
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)