iceberg-python
iceberg-python copied to clipboard
Add branch merge strategies
Feature Request / Improvement
Add merge strategies commonly used in version control systems to pyiceberg. Motivated by some of the discussion found here https://github.com/apache/iceberg-python/issues/2428:
- MERGE: creating a merge commit that preserves history of both branches
- SQUASH: condenses all commits from source branch into a single clean commit on target branch
- REBASE: creates linear history by replaying commits from source branch on top of target branch
- CHERRY_PICK: selects and applies specific individual commits from one branch to another
- FAST_FORWARD: moves target branch pointer forward when no divergent commits exist (no merge commit needed)
I would really be interested by this feature!