Support Iceberg SQL views
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with PR #1069 and the existing table catalog APIs, then read the Iceberg view and REST catalog specifications linked in the issue. The scope spans metadata, JSON, lifecycle handling, REST operations, and integration tests; use the listed validation areas to map the work. Done means persisted views support the specified lifecycle through a REST catalog while existing table APIs remain compatible.
由索引模型根据 Issue 内容生成。
描述
Add support for persisted Iceberg SQL views so C++ applications can create, inspect, and manage view definitions through a REST catalog.
The initial metadata types and validation are under review in https://github.com/apache/iceberg-cpp/pull/1069. This issue tracks the complete implementation and expands the view-related work listed in #273.
Proposed scope
- View metadata types, version history, representations, and validation — #1069.
- View metadata JSON parsing and serialization, including preservation of unknown representation payloads.
- View update and requirement types matching the REST wire contract.
- A metadata builder for schema/version reuse, ordered updates, history retention, and dialect-removal checks.
- A separate ViewCatalog interface and View handle, with an in-memory implementation for lifecycle tests.
- REST read operations: load, exists, and paginated list.
- REST mutations: create, replace, rename, drop, and register, plus property and location updates.
Expected behavior
- Existing table catalog APIs remain compatible.
- View handles expose immutable metadata snapshots. Refresh checks the view UUID and installs metadata and response configuration together.
- SQL representation lookup matches dialects without regard to ASCII case and reports an absent dialect.
- REST operations honor advertised endpoints and reuse existing authentication and error-handling behavior.
- Mutations preserve ordered update semantics and report uncertain commit outcomes without automatically replaying the commit.
Validation
- Metadata and JSON tests using view-format fixtures from the Java and Rust implementations.
- In-memory lifecycle tests covering history, rollback, schema/version reuse, refresh, and snapshot immutability.
- REST tests for request/response handling, endpoint discovery, pagination, conflicts, and uncertain commit outcomes.
- A reference REST catalog integration test covering create, load, replace, rename, and drop.
SQL parsing and planning, materialized views, production storage in non-REST backends, and conditional replacement beyond the standard REST requirements are outside this initial scope.
References:
- Iceberg view specification
- Iceberg REST catalog specification
- Initial implementation: #1069
- 主要语言
- C++
- 星标
- 227
- 派生
- 142
- 平均合并
- 3 天 21 分钟
- 30 天内合并 PR
- 70
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/iceberg-cpp 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
apache/iceberg-cpp#1103 ·
维护者通常 2 天内回复
-
help wanted
难度 4/5 3-5 天 新手友好度 48/100
apache/iceberg-cpp#1101 ·
维护者通常 2 天内回复
-
Complete OAuth2 token refresh and expiration support (Java-compatible)可能已有人在做 @lishuxu 于 2 天前认领。 未关闭
apache/iceberg-cpp#1095 · 2 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
Make RestCatalog safe to share across threads可能已有人在做 @smaheshwar-pltr 于 3 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
apache/iceberg-cpp#1091 ·
维护者通常 2 天内回复
-
RestCatalog: concurrent HTTP requests can crash in libcurl可能已有人在做 @smaheshwar-pltr 于 3 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 20/100
apache/iceberg-cpp#1089 ·
维护者通常 2 天内回复
查看 apache/iceberg-cpp 的全部 Issue
相似的 Issue
-
ai_p2
难度 2/5 1-3 小时 新手友好度 82/100
ClickHouse/ClickHouse#130006 ·
维护者通常 1 天内回复
-
DepotMaintain: EN longer string moves the hint popup buttons out of reach // WpfGUI English Language未关闭client: WpfGui module: depot question
难度 2/5 1-3 小时 新手友好度 64/100
MaaAssistantArknights/MaaAssistantArknights#19169 · 2 条评论 ·
维护者通常 1 天内回复
-
area: certificates bug outdated-version
难度 1/5 1 小时以内 新手友好度 65/100
RafaelNGP/xbox-cloud-gaming-ps5#381 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
ROCm/AMDMIGraphX#5490 ·
维护者通常 3 天内回复