Iceberg REST catalog does not serve registerTable
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
- #1851 của @moomindani — đã đóng, không merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện yêu cầu đăng ký POST tới một máy chủ đã bật iceberg-table, sau đó lần theo định tuyến catalog REST và đường dẫn đăng ký Unity Catalog. Kiểm tra cách các thao tác tạo, cập nhật và xóa hiện có được kết nối, cũng như cách metadata của Iceberg được đọc. Công việc được xem là hoàn tất khi endpoint được công bố qua GET /v1/config, trả về các phản hồi được mô tả và bảng đã đăng ký có thể được liệt kê và tải mà không sửa đổi tệp metadata của nó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
POST /v1/{prefix}/namespaces/{namespace}/register is not served, so a table whose Iceberg metadata
already exists cannot be brought into this catalog through the REST API. The request is answered before
any service is reached, with a 404 for a path this server does not have, and the endpoint is not in the
endpoints list from GET /v1/config either.
That is the path an engine takes to adopt a table written elsewhere -- Spark's
CALL system.register_table, or any client calling Catalog.registerTable -- and the path a migration
of existing Iceberg tables onto Unity Catalog goes through. Without it the only way in is to create the
table again and rewrite its data, or to insert rows into Unity Catalog by some other route and hope the
metadata pointer matches.
To Reproduce
Steps to reproduce the behavior:
- Start the server with
server.iceberg-table.enabled=trueand create a catalogunitywith a schema
default. - Write, or take, an Iceberg table's metadata file somewhere the server can read.
POST /api/2.1/unity-catalog/iceberg/v1/catalogs/unity/namespaces/default/registerwith
{"name": "adopted", "metadata-location": "<that file>"}answers404 Not Found.
Expected behavior
200 with the LoadTableResponse for the table the metadata file describes, and the table registered in
Unity Catalog from that point on: listed by listTables, loadable by loadTable. A name that is
already taken is 409 unless the request asks to overwrite; a namespace that does not exist is 404. The
metadata file itself is not modified. The endpoint is advertised in the config endpoints list.
System [please complete the following information]:
- OS: macOS 15, server built from
mainat 58d5c7b
Additional context
Verified on main at 58d5c7b against a running server. The rest of the write surface -- create, update,
drop -- landed in #1696; this is the one write the spec defines that is still missing, apart from
transactions and the view endpoints.
Related: #1846 covers three other operations the spec defines that this catalog does not serve
(dropNamespace, updateProperties, renameTable). This one is filed separately because those three
are already implemented inside Unity Catalog and only need wiring, while registering a table needs a
read of metadata for a table the catalog does not have yet.
- Ngôn ngữ chính
- Java
- Star
- 3.6k
- Fork
- 687
- Merge trung bình
- 4 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 47
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 unitycatalog/unitycatalog
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
unitycatalog/unitycatalog#2034 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
unitycatalog/unitycatalog#2025 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
unitycatalog/unitycatalog#1744 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
unitycatalog/unitycatalog#1679 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Flaky python-client-tests CI: coursier OverlappingFileLockException during sbt updateCó thể đã có người làm @niruta25 đã nhận 188 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
unitycatalog/unitycatalog#1496 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của unitycatalog/unitycatalog
Issue tương tự
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixCó thể đã có người làm @ItsDeadlyProgrammer đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
appsmithorg/appsmith#42471 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
code-maintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
carlos-emr/carlos#5258 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: author create/update with an unknown avatarId returns 404 instead of 400 UNKNOWN_REFERENCECó thể đã có người làm @Vinu2111 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
atomityhq/blog-cms#59 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PlatformSpecific.hasGreenThreads incorrectly returns false for JDK updates and non-GA versionsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày