apache / apache/iceberg-python

Add branch merge strategies

未關閉
#2,433 2 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
1.1k
分支
581
平均合併
1 天 13 小時
30 天內合併 PR
76

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

此 issue 未指定檔案、測試或進入點。先閱讀 issue 2428 中連結的討論,以確定預期的 API 和範圍,然後找出 PyIceberg 現有的分支操作和測試;完成的標準是就列出的五種策略達成共識並予以支援。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
data
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。