core2025.10.0's recorded minimum of 0.54.0 cannot read some files written under it

Aberta
#12,235 1 comentário 0 reações 0 responsáveis Ver no GitHub

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
42/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
databases

Direção de pesquisa

Read docs/specs/versioning/design.md and the compatibility check added in #12008, then inspect the three affected paths: encodings/fsst/src/serde.rs, Pco serialization, and RunEnd compression. Reproduce the nine failures using the vortex-data 0.54.0 wheel and identify a compatible fix for each format. Done means the affected entries are removed from vortex-test/compat-gen/accepted-edition-failures.json and the compatibility check passes.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

The core2025.10.0 edition records a minimum Vortex version of 0.54.0, but 0.54.0 cannot read some files that the current writer produces under that edition. The compatibility check added in #12008 writes each fixture at the edition with HEAD and reads it with the vortex-data 0.54.0 wheel. Nine fixtures fail, and #12008 accepts them in vortex-test/compat-gen/accepted-edition-failures.json. They have three causes:

  • vortex.fsst: HEAD writes three buffers. The 0.54.0 reader requires exactly two (encodings/fsst/src/serde.rs, "Expected 2 buffers").
  • vortex.pco: HEAD uses pco 1.1.0, and 0.54.0 uses pco 0.4.7. The compatibility run reports that 0.4.7 rejects the newer pco format version.
  • vortex.runend: HEAD writes RunEnd arrays with Utf8 values. The 0.54.0 reader accepts only Bool or Primitive values.

This breaks invariants 1 and 6 in docs/specs/versioning/design.md: the FSST and RunEnd contracts changed under the same wire IDs, so the recorded minimum no longer reads every file that the edition permits. core2025.10.0 is the newest frozen edition, so it is the one a user is most likely to pin in order to write files for 0.54 readers. The older editions have similar entries, which we accept as they are.

Possible fixes, which differ in cost: the compressor can skip RunEnd over Utf8 under core2025.10.0, FSST can give its 3-buffer format a new wire ID so that the 2-buffer format is still written under this edition, and Pco may need a pinned format version, if pco can write one. A fix removes the matching entries from accepted-edition-failures.json, and the check then requires the removal.

🤖 Generated with Claude Code

Linguagem predominante
Rust
Estrelas
3.2k
Forks
239
Merge médio
1d 4h
PRs com merge (30d)
684

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de vortex-data/vortex

Todas as issues de vortex-data/vortex

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.