Add Server-Side Scan Planning Support
Mantenedores costumam responder em até 1 dia
@geruh já está trabalhando nisso.
Desde 19/1/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Feature Request / Improvement
Now that Java has added server-side scan planning support PR #14480, I believe Python is a great place to integrate this functionality! We have all the building blocks and they are almost brought to completion. I'm creating this issue to track all of the tasks we need to drive it through
Context
We have some open PRs with some needed model changes, but we have pivoted to using our existing models and ensuring they're properly serializable with pydantic.
For example, initially we can work on:
-
Expression Serialization to ensure
BooleanExpressionand subclasses serialize correctly for REST API. Related to @Fokko's work on #2750 and @rambleraptor #2435. -
DataFile Serialization to ensure we can properly deserialize the data/deletefiles from the server response. Open API uses kebab-case (
file-format,file-path) but our models expect snake_case (file_format,file_path).
REST API Endpoints to Implement
Based on the Iceberg REST spec:
POST /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan- Submit scan for planningGET /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan/{plan-id}- Fetch planning resultDELETE /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan/{plan-id}- Cancel planningPOST /v1/{prefix}/namespaces/{namespace}/tables/{table}/tasks- Fetch scan tasks for a plan task
Tasks
Initially we can start with core sync planning and once that's in place we can add the async support as it looks like it exists in https://github.com/apache/iceberg/blob/main/core/src/test/java/org/apache/iceberg/rest/RESTCatalogAdapter.java
Core Sync Planning
- Build on @Fokko's expression work to ensure
Expressionclasses serialize properly with Pydantic.- #2783
- Construct only plan Request/Response models for synchronous planning
- Add support for REST scan to fetch scan tasks replicating
DataScanbehavior - Parse server response to
FileScanTaskobjects (handle Data/DeleteFile construction) - Add
plan_table_scan()methods - Add documentation
Full Scan planning support (Follow-up)
Complete the full scan planning API with async operations and pagination.
- Add the rest of the models for async planning
- Add support for endpoint 2 & 3 to RESTScan
- Add endpoint 4 support to
RestCatalog - Complete documentation with all scenarios
- Linguagem predominante
- Python
- Estrelas
- 1.2k
- Forks
- 618
- Merge médio
- 1d 10h
- PRs com merge (30d)
- 71
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de apache/iceberg-python
-
PyArrowFileIO: every small S3 write is a 3-request multipart upload; expose allow_delayed_openAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
apache/iceberg-python#4093 ·
Mantenedores costumam responder em até 1 dia
-
Replace `__slots__ = (field1,field2,...)` with `slots=True`Talvez já em andamento @med9110 assumiu há 2 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
apache/iceberg-python#4086 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
View does not expose metadata_location: RestCatalog.load_view discards it from the server's responseTalvez já em andamento @Soumo-git-hub assumiu há 2 dias. Abertakind:bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
apache/iceberg-python#4073 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
apache/iceberg-python#4010 · 3 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
to_bytes silently rescales a Decimal with a negative scaleTalvez já em andamento @Rodrigo-Palma assumiu há 22 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
apache/iceberg-python#3996 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de apache/iceberg-python
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
awslabs/visual-asset-management-system#414 ·
Mantenedores costumam responder em até 1 dia
-
bug v1 v2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
modelcontextprotocol/python-sdk#3670 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
aicell-lab/bioengine#232 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
modelscope/evalscope#1836 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100