Editions: gate extension dtypes and support crate-declared families (json)
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 45/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Java
- Estrelas
- 3
- Forks
- 2
- Merge médio
- 14h 59min
- PRs com merge (30d)
- 137
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o 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 dfa1/vortex-java
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
dfa1/vortex-java#636 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
dfa1/vortex-java#634 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
dfa1/vortex-java#601 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 30/100
dfa1/vortex-java#583 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
dfa1/vortex-java#567 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de dfa1/vortex-java
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 3 dias
-
A proxy that fails to start logs a RejectedExecutionException stack trace from its shutdown hookAbertafollow-up
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Sanne/incus-spawn#1953 ·
Mantenedores costumam responder em até 1 dia
-
Bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
HexaHexes/ability-battlewills#37 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Shweit/EtherealPortals#30 ·