Skip to content

fix(writer): the zone table of a column has Rust's shape (#583) - #676

Merged
dfa1 merged 1 commit into
mainfrom
feat/583-zone-table-shape
Nov 6, 2026
Merged

dfa1 merged 1 commit into
mainfrom
feat/583-zone-table-shape

Conversation

@dfa1

@dfa1 dfa1 commented Nov 6, 2026

Copy link
Copy Markdown
Owner

PR 3 of #583.

  • Zone-table columns without nulls carry no validity or mask (Rust's AllValid builders).
  • A bool is vortex.constant only when the constant is smaller (17+ rows); its node carries the cached stats.
  • Interop tests vs vortex-jni: numeric, bool, flag and nullable float zone tables; constant bools of 1..20000 rows.

Not covered: string zone tables, which need Rust's vortex.varbinview canonical form for Utf8 (and is_sorted offsets) — a separate PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_011fRbYsrGtpKHp9APhU8qDV

… without nulls, constant bool by size (#583)

Rust's stats-table builders stay AllValid unless a null is appended, so a zone-table column
without nulls carries no validity child and no mask (ZoneAccumulator). A bool column is a
vortex.constant only when its packed bytes exceed the constant's two (17 rows and up), and its
node carries the stats Rust caches. Interop tests compare the numeric, bool, flag and nullable
float zone tables, and constant bools of 1 to 20000 rows, with vortex-jni. The string columns'
zone tables wait for Rust's vortex.varbinview canonical form.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011fRbYsrGtpKHp9APhU8qDV
@dfa1
dfa1 force-pushed the feat/583-zone-table-shape branch from 80a83dc to 1b8ae55 Compare November 6, 2026 19:05
@dfa1
dfa1 merged commit 59f7971 into main Nov 6, 2026
6 checks passed
@dfa1
dfa1 deleted the feat/583-zone-table-shape branch November 18, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant