Support Iceberg SQL views
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C++
- Star
- 227
- Fork
- 142
- Merge trung bình
- 3 ngày 21 phút
- Pull request đã merge (30 ngày)
- 70
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/iceberg-cpp
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
apache/iceberg-cpp#1103 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
apache/iceberg-cpp#1101 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Complete OAuth2 token refresh and expiration support (Java-compatible)Có thể đã có người làm @lishuxu đã nhận 2 ngày trước. Đang mở
apache/iceberg-cpp#1095 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Make RestCatalog safe to share across threadsCó thể đã có người làm @smaheshwar-pltr đã nhận 3 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
apache/iceberg-cpp#1091 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
RestCatalog: concurrent HTTP requests can crash in libcurlCó thể đã có người làm @smaheshwar-pltr đã nhận 3 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
apache/iceberg-cpp#1089 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của apache/iceberg-cpp
Issue tương tự
-
ai_p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ClickHouse/ClickHouse#130006 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DepotMaintain: EN longer string moves the hint popup buttons out of reach // WpfGUI English LanguageĐang mởclient: WpfGui module: depot question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
MaaAssistantArknights/MaaAssistantArknights#19169 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: certificates bug outdated-version
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
RafaelNGP/xbox-cloud-gaming-ps5#381 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
parse_selu lowering loses catastrophic cancellation → silent 0.0 for moderate positive inputsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
ROCm/AMDMIGraphX#5490 ·
Maintainer thường phản hồi trong vòng 3 ngày