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

Đang mở
#12,235 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
databases

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
3.2k
Fork
239
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
684

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của vortex-data/vortex

Tất cả issue của vortex-data/vortex

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.