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
[Enhancement] Materialized views support refresh granularity splits #12926
Conversation
run starrocks_admit_test |
run starrocks_admit_test |
throw new AnalysisException("Partition Refresh Number: " + e.getMessage()); | ||
} | ||
if (partitionRefreshNumber <= 0) { | ||
throw new AnalysisException("Partition Refresh Number should larger than 0."); |
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.
how to unset refresh number?
what if the user do not specify the refresh number, what is the default logic?
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.
This feature will do in Support alter materialized view properties or later PR
} | ||
|
||
@VisibleForTesting | ||
public void filterPartitionByRefreshNumber(Set<String> partitionsToRefresh, MaterializedView materializedView) { |
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.
have you test if one source base table partition has two target mv partitions can run successfully?
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.
In fact, this configuration has nothing to do with the source table, only the number of partitions of the materialized view table.
run starrocks_admit_test |
run starrocks_admit_test |
run starrocks_admit_test |
run starrocks_fe_unittest |
run starrocks_admit_test |
run starrocks_fe_unittest |
@Mergifyio rebase |
❌ Base branch update has failedGit reported the following error:
err-code: AFE3D |
run starrocks_admit_test |
Kudos, SonarCloud Quality Gate passed! |
[FE PR Coverage Check]😞 fail : 69 / 113 (61.06%) file detail
|
What type of PR is this:
Which issues of this PR fixes :
Fixes #12925
Problem Summary(Required) :
Checklist: