-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Feature]Implement replace branch in BranchManager #2911
Conversation
@FangYongs PTAL |
@FangYongs If you have time, could you please review this for me? thx |
@sunxiaojian Can you split the merge and replace branch in different PRs? I think the operations between them are quite different |
@FangYongs But they may use some of the same methods added in SnapshotManager and TagManager. The main methods for BranchManager are mergeBranch and replaceBranch. |
ced1e05
to
412a1ff
Compare
#2862 |
8c63952
to
a5de1b2
Compare
@FangYongs The merge branch has been removed, and the implementation of the merge branch is mainly based on #2862 |
paimon-core/src/main/java/org/apache/paimon/utils/BranchManager.java
Outdated
Show resolved
Hide resolved
7100dc0
to
db3e615
Compare
133fe51
to
97bf9e7
Compare
paimon-core/src/main/java/org/apache/paimon/utils/BranchManager.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/utils/BranchManager.java
Outdated
Show resolved
Hide resolved
@FangYongs Please help to review this pr also. And I suggest the merge/replace branches could wait for the Flink read/write pr merged and do detailed tests base on Flink reading/writing, because the merging and replacing branches will impact on the |
paimon-core/src/main/java/org/apache/paimon/utils/BranchManager.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/schema/SchemaManager.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/utils/TagManager.java
Outdated
Show resolved
Hide resolved
30c6e01
to
06b4805
Compare
paimon-core/src/main/java/org/apache/paimon/utils/BranchManager.java
Outdated
Show resolved
Hide resolved
0ed94a8
to
02421f0
Compare
@FangYongs @schnappi17 Is there anything else that needs to be modified? |
02421f0
to
edc7d44
Compare
cbf7cbe
to
da40294
Compare
a16ddd7
to
f803bd8
Compare
paimon-core/src/main/java/org/apache/paimon/utils/TagManager.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/utils/BranchManager.java
Outdated
Show resolved
Hide resolved
paimon-core/src/main/java/org/apache/paimon/utils/BranchManager.java
Outdated
Show resolved
Hide resolved
248b5da
to
8b39047
Compare
8b39047
to
ab21525
Compare
Thanks @sunxiaojian @schnappi17 , +1 |
+1 for this, thanks @sunxiaojian @FangYongs |
Purpose
Linked issue: close #2153
Tests
BranchActionITCase.testReplaceBranchToTargetBranch
API and Format
Documentation