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

オープン
#12,235 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
684

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vortex-data/vortex のほかの issue

vortex-data/vortex の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。