apache / apache/iceberg-python

Pluggable Scan Planning

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

描述

### Feature Request / Improvement

Umbrella issue. Today we have tightly coupled query planning in Python. This works well but runs into limitations when it comes to concurrency and performance. Having pluggable query planning will allow for:

- **Python based query planning** which is working today and is proven.
- **Iceberg-Rust based query planning** as suggeted in https://github.com/apache/iceberg-python/issues/2159#issuecomment-3033339213.
- **REST Catalog server side planning** this leverages the REST Catalog to plan the query, rather than the client. First issue can be found here: https://github.com/apache/iceberg-python/issues/2302.

As an API, I think it makes sense to follow the Server Side planning. So a `PlanTableScanRequest` as an input, and the [ScanTasks](https://github.com/apache/iceberg/blob/68a241615e104d97a86c932c381d7dfac802d769/open-api/rest-catalog-open-api.py#L1290) as the output.

贡献指南

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

调研方向

首先阅读这个总 issue,以及 issue 2302;后者涵盖 REST Catalog 首项服务端规划工作。检查提议的 PlanTableScanRequest 输入和 ScanTasks 输出,然后将它们与现有的 Python 查询规划路径进行比较。完成的标准是达成一个一致认可的可插拔规划 API,能够支持 Python、Iceberg-Rust 和 REST Catalog 规划。

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

评估

技术栈
python, rust
领域
backend-api-design, distributed-systems
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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