apache / apache/iceberg-python

Support rewrite_manifests table maintenance

未关闭
#3,629 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.1k
派生
581
平均合并
1 天 17 小时
30 天内合并 PR
78

描述

### Feature Request / Improvement

Rewriting manifests without changing data speeds up scan planning when a table has accumulated many small manifests. Java exposes this as `Table.rewriteManifests()` (Spark: `rewrite_manifests`).

Scope: an explicit maintenance operation that reads the current snapshot's manifests, regroups entries, rewrites them preserving sequence numbers (entries rewritten as EXISTING) and, for V3, `first_row_id`, and commits a `replace` snapshot. Related: #270 tracks automatic manifest merging on write; this covers the explicit maintenance API.

贡献指南

这个仓库没有索引到贡献指南

调研方向

定位与 Table.rewriteManifests() 对应的 Python 表维护/API 入口点;先阅读当前的快照和清单管理路径。完成的标准是:有一个显式操作对当前清单重新分组,保留序列号和 V3 first_row_id,将重写后的条目标记为 EXISTING,并提交一个替换快照。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
databases
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。