Skip to content

GH-50333: [C++][Parquet] Add dense decode path for FIXED_LEN_BYTE_ARRAY#50335

Draft
marcin-krystianc wants to merge 1 commit into
apache:mainfrom
marcin-krystianc:dev-20260702-flba-decoder
Draft

GH-50333: [C++][Parquet] Add dense decode path for FIXED_LEN_BYTE_ARRAY#50335
marcin-krystianc wants to merge 1 commit into
apache:mainfrom
marcin-krystianc:dev-20260702-flba-decoder

Conversation

@marcin-krystianc

Copy link
Copy Markdown
Contributor

Rationale for this change

For performance reasons, we would like to decode float16 (FLBA) values directly into the caller-provided buffer.

What changes are included in this PR?

  • Adds a virtual int Decode(uint8_t* buffer, int max_values) to FLBADecoder in encoding.h. It writes decoded values contiguously into a caller-owned buffer.
  • Implements the new overload for all supported decoders. (The base implementation throws ParquetException, so unimplemented encodings fail with a clear message.)
  • Replaces the old PARQUET-1508 TODO comment.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant