Skip to content

[WIP] ALP pseudo decimal encoding - #3444

Draft
prtkgaur wants to merge 5 commits into
apache:masterfrom
prtkgaur:gh540-alp-pseudoDecimal-encoding
Draft

prtkgaur wants to merge 5 commits into
apache:masterfrom
prtkgaur:gh540-alp-pseudoDecimal-encoding

Conversation

@prtkgaur

Copy link
Copy Markdown

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@prtkgaur
prtkgaur force-pushed the gh540-alp-pseudoDecimal-encoding branch from c738d2e to 48d5e73 Compare March 11, 2026 04:12
@prtkgaur prtkgaur changed the title [WIP][Gh540] ALP pseudo decimal encoding [BuildsOnTop Of Julien and Vinoo's work] [WIP] ALP pseudo decimal encoding Mar 11, 2026
@prtkgaur prtkgaur changed the title [BuildsOnTop Of Julien and Vinoo's work] [WIP] ALP pseudo decimal encoding [WIP] ALP pseudo decimal encoding Apr 14, 2026
@prtkgaur
prtkgaur force-pushed the gh540-alp-pseudoDecimal-encoding branch from 48d5e73 to 6e96642 Compare October 4, 2026 00:31
Implement decimal scaling, exception patching, frame-of-reference packing,
sampling, and the little-endian page layout. Preserve bit-exact floating-point
results and compatibility with the C++ reference blobs.
Buffer and encode page vectors through the Parquet values interfaces, then
decode them lazily with constant-time skips. Validate page headers and retain
allocator-backed output across vector boundaries.
Expose opt-in global and per-column settings and select ALP for floating-point
columns in the writer factory. Keep the default disabled and leave unsupported
physical types unchanged.
Read C++-generated float and double files against source values, and retain
Java-generated fixtures for the reverse-language conformance workflow. Cover
both datasets with bit-exact comparisons.
Measure codec and Parquet-pipeline throughput on synthetic patterns and Spotify
columns, including comparisons with plain Zstandard and byte-stream split. Keep
corpus loading shared with interoperability fixtures.
@prtkgaur
prtkgaur force-pushed the gh540-alp-pseudoDecimal-encoding branch from 6e96642 to a21cc47 Compare October 4, 2026 02:40
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.

2 participants