Skip to content

refactor(reader): one MaterializedArrays.of for the six ptype-to-array switches - #449

Merged
dfa1 merged 1 commit into
mainfrom
refactor/materialized-array-factory
Oct 3, 2026
Merged

dfa1 merged 1 commit into
mainfrom
refactor/materialized-array-factory

Conversation

@dfa1

@dfa1 dfa1 commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Primitive, Zstd, Bitpacked, Delta, Patched and Dict each switched over
ptype to wrap a decoded segment in its Materialized*Array. They now call
the package-private MaterializedArrays.of, which covers every ptype.

Bitpacked and Delta are integer-only in Rust, so each now rejects a
floating ptype up front instead of relying on the old switch default.
Patched loses its F16 rejection: Rust's Patched accepts every native
ptype, so reading F16 there is a parity fix.

Verified with ./mvnw verify (unit + integration).

🤖 Generated with Claude Code

…y switches

Primitive, Zstd, Bitpacked, Delta, Patched and Dict each switched over
ptype to wrap a decoded segment in its Materialized*Array. They now call
the package-private MaterializedArrays.of, which covers every ptype.

Bitpacked and Delta are integer-only in Rust, so each now rejects a
floating ptype up front instead of relying on the old switch default.
Patched loses its F16 rejection: Rust's Patched accepts every native
ptype, so reading F16 there is a parity fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@dfa1
dfa1 force-pushed the refactor/materialized-array-factory branch from 8ffe7e1 to af35159 Compare October 3, 2026 20:24
@dfa1
dfa1 merged commit eff902a into main Oct 3, 2026
6 checks passed
@dfa1
dfa1 deleted the refactor/materialized-array-factory branch October 3, 2026 21:23
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