apache / apache/iceberg-python

Support scanning a specific branch of a table

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

描述

### Feature Request / Improvement

As far as I can tell, PyIceberg does not directly support being able to scan a particular branch of an iceberg table. For example, there is no way to be able to run an equivalent of queries like

SELECT * FROM `..;`

as documented in https://iceberg.apache.org/docs/1.8.0/branching/#schema-selection-with-branches-and-tags

I can see that PR #941 to add support to _write_ to branches in Pyiceberg is well on its way to be being merged in, so this would be a useful complement.

Alternatively, perhaps I'm mistaken and there is already a way to do this, but it wasn't clear in the documentation

贡献指南

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

调研方向

首先阅读 issue 中链接的 Iceberg 分支和 schema 选择文档,然后查看 PR #941,了解现有的分支写入支持。检查当前的 PyIceberg 扫描 API,并确定应如何选择指定分支的表;完成的标准是调用方可以像文档中的查询示例一样扫描表的特定分支。

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

评估

技术栈
python
领域
database
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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