Editions: gate extension dtypes and support crate-declared families (json)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đá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
- 45/100
Hướng nghiên cứu
Start with the edition catalog and VortexWriter.create, then compare the current encoding-only guard with the extension-dtype behavior described in vortex-json/src/editions.rs. Update docs/compatibility.md, ADR 0023, and CLAUDE.md alongside the implementation, including the decision about whether EditionFamily stays closed. Done means schemas with disabled extension dtypes are rejected, the json family and vortex.json behavior are covered, and the built-in JSON decoder rejects non-UTF-8 data.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Rust editions gate extension dtypes as well as encodings, and edition families are no longer a fixed set: optional crates declare their own. vortex-java models neither.
Rust behavior
- An edition lists its members by component kind, and an extension dtype is one of those kinds (
EditionMember::dtype(..)). A writer with an edition policy may emit only members of enabled families, so a schema with an extension dtype outside them is refused. - Families are declared per crate.
vortex-json/src/editions.rsdeclares thejsonfamily (originvortex-json) with one draft edition,json2026.08.0, adding thevortex.jsondtype.vortex_json::initialize(session)registers the dtype and enables the family together. Being outsidecorereflects that a reader built withoutvortex-jsoncannot resolvevortex.json.
vortex-java today
- The edition guard (
WriteOptions#editions(), ADR 0023) checks array encodings only, sowithEdition(..)lets a schema carryvortex.jsonor any custom extension id (now easy to register, #530/#547).docs/compatibility.mdalready notes the catalog models encodings only. EditionFamilyis a closed enum (CORE/PREVIEW/ZSTD), and CLAUDE.md justifies this because a private family carries no real guarantee. Rust now has crate-declared families (json), so the enum is missing one, and the closed-world rationale no longer matches the reference.
To decide
- Extend the
Editionscatalog with extension-dtype members and enforce them in the writer's edition guard atVortexWriter.create. - Model
json(and decide between keepingEditionFamilyclosed with known Rust families added, and opening it the way Rust does). Update ADR 0023 / CLAUDE.md accordingly. - Related: a built-in
vortex.jsonExtensionDecoder<String>(UTF-8 storage,validaterejecting non-Utf8), so JSON files open withoutallowUnknown()after #547.
Refs #530
- Ngôn ngữ chính
- Java
- Star
- 3
- Fork
- 2
- Merge trung bình
- 9 giờ 47 phút
- Pull request đã merge (30 ngày)
- 128
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 dfa1/vortex-java
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
dfa1/vortex-java#636 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
dfa1/vortex-java#655 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
perf
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
dfa1/vortex-java#651 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Writer: string columns written as per-chunk dicts where Rust uses its dict layout (up to 2x larger)Đang mởperf
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
dfa1/vortex-java#650 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
perf
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
dfa1/vortex-java#649 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của dfa1/vortex-java
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
a2aproject/a2a-java#1275 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
module/ftp Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ballerina-platform/ballerina-library#9476 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anwilli5/coin-collection-android-US#515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status: waiting-for-triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
spring-projects/spring-integration#11654 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 70/100
Vakore/ZappierGames#248 ·