Skip to content

[fix](mtmv) Fix partition trace wrong when partition name is same from both side of join (#40485) - #40810

Merged
gavinchou merged 1 commit into
apache:branch-3.0from
seawinde:fix_partition_trace_wrong_pick30
Sep 14, 2024
Merged

[fix](mtmv) Fix partition trace wrong when partition name is same from both side of join (#40485)#40810
gavinchou merged 1 commit into
apache:branch-3.0from
seawinde:fix_partition_trace_wrong_pick30

Conversation

@seawinde

Copy link
Copy Markdown
Member

Proposed changes

pr: #40485
commitId: 18a374f

…m both side of join (apache#40485)
This is brought by apache#35562
if partition mv def is as following:
CREATE MATERIALIZED VIEW mv1
BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL
PARTITION BY (upgrade_day)
DISTRIBUTED BY RANDOM BUCKETS 2
PROPERTIES ('replication_num' = '1') AS
select t1.upgrade_day, t2.batch_no, count(*) from test2 t2 join test1 t1 on
t1.upgrade_day = t2.upgrade_day
group by t1.upgrade_day, t2.batch_no;
the mv related partition table should `test1`, but now is `test2`, this pr fix this.
@doris-robot

Copy link
Copy Markdown

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.

@seawinde

Copy link
Copy Markdown
MemberAuthor

run buildall

@gavinchou
gavinchou merged commit 36ce7a7 into apache:branch-3.0Sep 14, 2024
@gavinchougavinchou mentioned this pull request Oct 13, 2024
Sign up for freeto 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.

3 participants

@seawinde@doris-robot@gavinchou