-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](mtmv)fix when related table drop partition,mv partition is sync #36547
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 |
TPC-H: Total hot run time: 40909 ms |
TPC-DS: Total hot run time: 170391 ms |
ClickBench: Total hot run time: 30.76 s |
| public Set<String> getSnapshotPartitions(String mtmvPartitionName) { | ||
| MTMVRefreshPartitionSnapshot partitionSnapshot = partitionSnapshots.get(mtmvPartitionName); | ||
| if (partitionSnapshot == null) { | ||
| return Sets.newHashSet(); |
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.
Maybe use ImmutebleSet.of() is better
|
PR approved by anyone and no changes requested. |
|
PR approved by at least one committer and no changes requested. |
…apache#36547) for example: if mv's partition [mv_p1] is related with t1's partition [p1,p2] when p2 dropped, mv_p1'isSync should be false
…apache#36547) for example: if mv's partition [mv_p1] is related with t1's partition [p1,p2] when p2 dropped, mv_p1'isSync should be false
…#36547) for example: if mv's partition [mv_p1] is related with t1's partition [p1,p2] when p2 dropped, mv_p1'isSync should be false
for example:
if mv's partition [mv_p1] is related with t1's partition [p1,p2]
when p2 dropped,
mv_p1'isSync should be false