-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Refactor] refactor connector specific interfaces in mv #34681
[Refactor] refactor connector specific interfaces in mv #34681
Conversation
Signed-off-by: Murphy <mofei@starrocks.com>
Signed-off-by: Murphy <mofei@starrocks.com>
ce3bf53
to
4649152
Compare
public Set<String> getUpdatedPartitionNames(MaterializedView mv) { | ||
// TODO: implement | ||
return null; | ||
} | ||
} | ||
|
||
static class IcebergPartitionTraits extends DefaultTraits { |
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.
I think it is time to move all specific implementations into separate files. Can do it later.
} | ||
|
||
@Override | ||
public Set<String> getUpdatedPartitionNames(MaterializedView mv) { |
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.
MV contains a lot of information, is it necessary to make the entire MV as the argument?
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.
fixed
Signed-off-by: Murphy <mofei@starrocks.com>
Kudos, SonarCloud Quality Gate passed!
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 104 / 119 (87.39%) file detail
|
@Mergifyio backport branch-3.0 branch-3.1 branch-3.2 |
✅ Backports have been created
|
Signed-off-by: Murphy <mofei@starrocks.com> (cherry picked from commit 4374a6c) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/catalog/MaterializedView.java # fe/fe-core/src/main/java/com/starrocks/connector/ConnectorPartitionTraits.java
Signed-off-by: Murphy <mofei@starrocks.com> (cherry picked from commit 4374a6c) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/catalog/MaterializedView.java # fe/fe-core/src/main/java/com/starrocks/connector/ConnectorPartitionTraits.java
Signed-off-by: Murphy <mofei@starrocks.com> (cherry picked from commit 4374a6c) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/catalog/MaterializedView.java
Signed-off-by: Murphy <mofei@starrocks.com> (cherry picked from commit 4374a6c) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/catalog/MaterializedView.java
Signed-off-by: Murphy <mofei@starrocks.com> (cherry picked from commit 4374a6c) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/catalog/MaterializedView.java # fe/fe-core/src/main/java/com/starrocks/connector/ConnectorPartitionTraits.java
Fixes #issue
Refactor interfaces into
ConnectorPartitionTraits
:maxPartitionRefreshTs
getUpdatedPartitionNames
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: