apache / apache/iceberg-python

Add branch merge strategies

Open
#2,433 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.1k
Forks
581
Avg merge
1d 17h
Merged PRs (30d)
78

Description

### 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:

1. **MERGE**: creating a merge commit that preserves history of both branches
2. **SQUASH**: condenses all commits from source branch into a single clean commit on target branch
3. **REBASE**: creates linear history by replaying commits from source branch on top of target branch
4. **CHERRY_PICK**: selects and applies specific individual commits from one branch to another
5. **FAST_FORWARD**: moves target branch pointer forward when no divergent commits exist (no merge commit needed)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.