-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](mtmv)fix mtmv can not refresh when a partition table not have partition #55468
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. Please clearly describe your PR:
|
|
run buildall |
TPC-H: Total hot run time: 34419 ms |
TPC-DS: Total hot run time: 187837 ms |
ClickBench: Total hot run time: 32.53 s |
FE Regression Coverage ReportIncrement line coverage |
|
run p0 |
|
run feut |
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
TPC-H: Total hot run time: 34381 ms |
TPC-DS: Total hot run time: 186832 ms |
ClickBench: Total hot run time: 32.51 s |
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
TPC-H: Total hot run time: 35115 ms |
|
run performance |
TPC-H: Total hot run time: 34731 ms |
TPC-DS: Total hot run time: 189898 ms |
ClickBench: Total hot run time: 29.88 s |
FE Regression Coverage ReportIncrement line coverage |
| Lists.newArrayList(hivePartitionValues.getPartitionValuesMap().values())); | ||
| if (CollectionUtils.isEmpty(partitionList)) { | ||
| throw new AnalysisException("partitionList is empty, table name: " + hmsTable.getName()); | ||
| return new MTMVMaxTimestampSnapshot(hmsTable.getName(), 0L); |
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.
why not mtmvMaxTimestampSnapshot,this need to record a value, whatever max or min ?
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.
yes
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…artition (#55468) ``` CREATE TABLE partition_table ( `col1` BOOLEAN COMMENT 'col1', `pt1` VARCHAR COMMENT 'pt1' ) ENGINE=hive PARTITION BY LIST (pt1) () PROPERTIES ( 'file_format'='orc', 'compression'='zlib' ); CREATE MATERIALIZED VIEW mv1 REFRESH auto ON manual DISTRIBUTED BY random BUCKETS 2 PROPERTIES ( 'replication_num' = '1' ) AS select * from partition_table; ``` error msg: partitionList is empty, table name: partition_table
… not have partition (apache#55468) (apache#5300) pick: apache#55468
What problem does this PR solve?
error msg: partitionList is empty, table name: partition_table
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
fix mtmv can not refresh when a partition table not have partition
Release note
fix mtmv can not refresh when a partition table not have partition
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)