[enhance](mtmv)Mtmv rollup#31812
Merged
morrySnow merged 46 commits intoapache:masterfrom May 14, 2024
Merged
Conversation
|
Thank you for your contribution to Apache Doris. |
Contributor
Author
|
run buildall |
Contributor
Author
|
run buildall |
Member
|
check null partition is correct in the partition roll up scene |
seawinde
approved these changes
May 8, 2024
Contributor
|
PR approved by anyone and no changes requested. |
Contributor
Author
|
run buildall |
Contributor
Author
|
run buildall |
morrySnow
reviewed
May 10, 2024
Contributor
morrySnow
left a comment
There was a problem hiding this comment.
there are too many util function for async mv. We should add unit test for them
Contributor
Author
|
run buildall |
morrySnow
approved these changes
May 14, 2024
Comment on lines
+229
to
+230
| : partitionKey = identifier | ||
| | partitionExpr = functionCallExpression |
Contributor
There was a problem hiding this comment.
nit: u could write like
Suggested change
| : partitionKey = identifier | |
| | partitionExpr = functionCallExpression | |
| : identifier #partitionKey | |
| | functionCallExpression partitionExpr |
Contributor
|
PR approved by at least one committer and no changes requested. |
1 similar comment
Contributor
|
PR approved by at least one committer and no changes requested. |
ByteYue
pushed a commit
to ByteYue/doris
that referenced
this pull request
May 15, 2024
if create MTMV `date_trunc(`xxx`,'month')` when related table is `range` partition,and have 3 partitions: ``` 20200101-20200102 20200102-20200103 20200201-20200202 ``` then MTMV will have 2 partitions: ``` 20200101-20200201 20200201-20200301 ``` when related table is `list` partition,and have 3 partitions: ``` (20200101,20200102) (20200103) (20200201) ``` then MTMV will have 2 partitions: ``` (20200101,20200102,20200103) (20200201) ```
yiguolei
pushed a commit
that referenced
this pull request
May 18, 2024
if create MTMV `date_trunc(`xxx`,'month')` when related table is `range` partition,and have 3 partitions: ``` 20200101-20200102 20200102-20200103 20200201-20200202 ``` then MTMV will have 2 partitions: ``` 20200101-20200201 20200201-20200301 ``` when related table is `list` partition,and have 3 partitions: ``` (20200101,20200102) (20200103) (20200201) ``` then MTMV will have 2 partitions: ``` (20200101,20200102,20200103) (20200201) ```
Closed
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 free
to 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.
Proposed changes
Issue Number: close #xxx
if create MTMV
date_trunc(xxx,'month')when related table is
rangepartition,and have 3 partitions:then MTMV will have 2 partitions:
when related table is
listpartition,and have 3 partitions:then MTMV will have 2 partitions:
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...