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

Open
#12,235 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
databases

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
Rust
Stars
3.2k
Forks
239
Avg merge
1d 4h
Merged PRs (30d)
684

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vortex-data/vortex

All issues in vortex-data/vortex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.