Uh oh!
There was an error while loading. Please reload this page.
[fix](mtmv) Fix track partition column fail when date_trunc in group by - #36175
Merged
Conversation
doris-robot
commented
Jun 12, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
seawinde
commented
Jun 13, 2024
MemberAuthor
run buildall |
doris-robot
commented
Jun 13, 2024
TPC-H: Total hot run time: 39702 ms |
doris-robot
commented
Jun 13, 2024
TPC-DS: Total hot run time: 174466 ms |
doris-robot
commented
Jun 13, 2024
ClickBench: Total hot run time: 30.69 s |
seawinde
commented
Jun 19, 2024
MemberAuthor
run buildall |
1 similar comment
seawinde
commented
Jun 20, 2024
MemberAuthor
run buildall |
doris-robot
commented
Jun 20, 2024
TPC-H: Total hot run time: 39415 ms |
doris-robot
commented
Jun 20, 2024
TPC-DS: Total hot run time: 172525 ms |
doris-robot
commented
Jun 20, 2024
ClickBench: Total hot run time: 31.05 s |
zddr
approved these changes
Jun 20, 2024
| 'replication_num' = '1' | ||
| ) | ||
| AS | ||
| SELECT date_trunc(`k2`,'day') as month_alias, k1, count(*) FROM ${tableName} group by month_alias, k1; |
Contributor
PR approved by anyone and no changes requested. |
morrySnow
approved these changes
Jun 21, 2024
Contributor
PR approved by at least one committer and no changes requested. |
dataroaring pushed a commit
that referenced
this pull request
Jun 21, 2024
…by (#36175) This is brought by #35562 At the pr above when you create partition materialized view as following, which would fail with the message: Unable to find a suitable base table for partitioning CREATE MATERIALIZED VIEW mvName BUILD IMMEDIATE REFRESH AUTO ON MANUAL PARTITION BY (date_trunc(month_alias, 'month')) DISTRIBUTED BY RANDOM BUCKETS 2 PROPERTIES ( 'replication_num' = '1' ) AS SELECT date_trunc(`k2`,'day') AS month_alias, k3, count(*) FROM tableName GROUP BY date_trunc(`k2`,'day'), k3; This pr supports to create partition materialized view when `date_trunc` in group by cluause.
seawinde added a commit
to seawinde/doris
that referenced
this pull request
Jul 11, 2024
…by (apache#36175) This is brought by apache#35562 At the pr above when you create partition materialized view as following, which would fail with the message: Unable to find a suitable base table for partitioning CREATE MATERIALIZED VIEW mvName BUILD IMMEDIATE REFRESH AUTO ON MANUAL PARTITION BY (date_trunc(month_alias, 'month')) DISTRIBUTED BY RANDOM BUCKETS 2 PROPERTIES ( 'replication_num' = '1' ) AS SELECT date_trunc(`k2`,'day') AS month_alias, k3, count(*) FROM tableName GROUP BY date_trunc(`k2`,'day'), k3; This pr supports to create partition materialized view when `date_trunc` in group by cluause.
morrySnow pushed a commit
that referenced
this pull request
Jul 12, 2024
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
…by (apache#36175) This is brought by apache#35562 At the pr above when you create partition materialized view as following, which would fail with the message: Unable to find a suitable base table for partitioning CREATE MATERIALIZED VIEW mvName BUILD IMMEDIATE REFRESH AUTO ON MANUAL PARTITION BY (date_trunc(month_alias, 'month')) DISTRIBUTED BY RANDOM BUCKETS 2 PROPERTIES ( 'replication_num' = '1' ) AS SELECT date_trunc(`k2`,'day') AS month_alias, k3, count(*) FROM tableName GROUP BY date_trunc(`k2`,'day'), k3; This pr supports to create partition materialized view when `date_trunc` in group by cluause.
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.
Proposed changes
This is brought by #35562
At the pr above when you create partition materialized view as following, which would fail with the message
Unable to find a suitable base table for partitioning:This pr supports to create partition materialized view when
date_truncin group by cluause.