apache / apache/iceberg-python
Add `delete_files`
- 主要語言
- Python
- 星號
- 1.1k
- 分支
- 588
- 平均合併
- 1 天 23 小時
- 30 天內合併 PR
- 84
描述
### Feature Request / Improvement
Hello All,
First of all, apologies as I am not very experienced with PyIceberg.
I currently have a Java application that "manually" updates table metadata and can add new files if they don't exist and replace older files if they already do. This guarantees that, as long as the file names are fixed, I should not have duplicates.
In Java, I use [deleteFile](https://iceberg.apache.org/javadoc/0.13.1/org/apache/iceberg/DeleteFiles.html#deleteFile-java.lang.CharSequence-) and then [addFile](https://iceberg.apache.org/javadoc/0.13.1/org/apache/iceberg/OverwriteFiles.html#addFile-org.apache.iceberg.DataFile-).
In PyIceberg, I can [Add Files](https://py.iceberg.apache.org/api/#add-files), but I don't see options to "Delete Files" or overwrite.
Is `delete_files()` a feature that you could add?
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從 PyIceberg 現有的 Add Files API 開始,並將其行為與連結的 Java DeleteFiles 和 OverwriteFiles API 進行比較。定義支援的 delete_files 或 overwrite 語意,並驗證已完成的功能能讓呼叫端移除或取代現有資料檔案,而不會建立重複項目。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- data-engineering
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100