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

未关闭
#12,235 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
databases

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Rust
星标
3.2k
派生
239
平均合并
1 天 4 小时
30 天内合并 PR
684

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

vortex-data/vortex 的其他 Issue

查看 vortex-data/vortex 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。