Uh oh!
There was an error while loading. Please reload this page.
[fix](mtmv) Fix data wrong when query with table operator such as TABLESAMPLE or tablet and so on - #43030
Merged
Conversation
doris-robot
commented
Oct 31, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
seawinde
commented
Oct 31, 2024
MemberAuthor
run buildall |
seawinde
commented
Nov 1, 2024
MemberAuthor
run buildall |
seawindeforce-pushed
the
add_query_with_tablet_etc_test
branch
from
November 4, 2024 09:47
eda8d89 to
1767731Compareseawinde
commented
Nov 4, 2024
MemberAuthor
run buildall |
1 similar comment
seawinde
commented
Nov 5, 2024
MemberAuthor
run buildall |
morrySnow
previously approved these changes
Nov 7, 2024
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
morrySnow
commented
Nov 7, 2024
Contributor
run cloud_p0 |
seawindeforce-pushed
the
add_query_with_tablet_etc_test
branch
from
November 7, 2024 09:35
12107f2 to
db7ec16Compareseawinde
commented
Nov 7, 2024
MemberAuthor
run buildall |
morrySnowforce-pushed
the
add_query_with_tablet_etc_test
branch
from
November 19, 2024 13:07
db7ec16 to
50b5c49ComparemorrySnow
commented
Nov 19, 2024
Contributor
run buildall |
morrySnow
commented
Nov 22, 2024
Contributor
run p0 |
morrySnowforce-pushed
the
add_query_with_tablet_etc_test
branch
from
November 22, 2024 09:00
50b5c49 to
3d3311dComparemorrySnow
commented
Nov 22, 2024
Contributor
run buildall |
seawindeforce-pushed
the
add_query_with_tablet_etc_test
branch
2 times, most recently
from
November 28, 2024 02:21
5e8002c to
27daea3Compareseawinde
commented
Nov 28, 2024
MemberAuthor
run buildall |
seawindeforce-pushed
the
add_query_with_tablet_etc_test
branch
from
November 28, 2024 06:35
27daea3 to
793bbe7Compareseawinde
commented
Nov 28, 2024
MemberAuthor
run buildall |
morrySnow
approved these changes
Dec 2, 2024
github-actionsBot
pushed a commit
that referenced
this pull request
Dec 2, 2024
…LESAMPLE or tablet and so on (#43030) Related PR: #28064 Materialized view is as following: CREATE MATERIALIZED VIEW mv1 BUILD IMMEDIATE REFRESH AUTO ON MANUAL DISTRIBUTED BY RANDOM BUCKETS 2 PROPERTIES ('replication_num' = '1') AS select * from orders If run query as following, should rewrite fail by materialized view above to make sure data correctness select * from orders TABLET(110); select * from orders index query_index_test; select * from orders TABLESAMPLE(20 percent); select * from orders_partition PARTITION (day_2); At before, this would rewrite by materialized view succesfully and the result data is wrong, This pr fix this.
seawinde added a commit
to seawinde/doris
that referenced
this pull request
Dec 6, 2024
…LESAMPLE or tablet and so on (apache#43030) Related PR: apache#28064 Materialized view is as following: CREATE MATERIALIZED VIEW mv1 BUILD IMMEDIATE REFRESH AUTO ON MANUAL DISTRIBUTED BY RANDOM BUCKETS 2 PROPERTIES ('replication_num' = '1') AS select * from orders If run query as following, should rewrite fail by materialized view above to make sure data correctness select * from orders TABLET(110); select * from orders index query_index_test; select * from orders TABLESAMPLE(20 percent); select * from orders_partition PARTITION (day_2); At before, this would rewrite by materialized view succesfully and the result data is wrong, This pr fix this.
16 tasks
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
…LESAMPLE or tablet and so on (apache#43030) Related PR: apache#28064 Materialized view is as following: CREATE MATERIALIZED VIEW mv1 BUILD IMMEDIATE REFRESH AUTO ON MANUAL DISTRIBUTED BY RANDOM BUCKETS 2 PROPERTIES ('replication_num' = '1') AS select * from orders If run query as following, should rewrite fail by materialized view above to make sure data correctness select * from orders TABLET(110); select * from orders index query_index_test; select * from orders TABLESAMPLE(20 percent); select * from orders_partition PARTITION (day_2); At before, this would rewrite by materialized view succesfully and the result data is wrong, This pr fix this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Materialized view is as following:
If run query as following, should rewrite fail by materialized view above to make sure data correctness
At before, this would rewrite by materialized view succesfully and the result data is wrong, This pr fix this.
Issue Number: close #xxx
Related PR: #28064
Problem Summary:
Check List (For Committer)
Test
Behavior changed:
Does this need documentation?
Release note
None
Check List (For Reviewer who merge this PR)