Skip to content

[opt](parquet) accelerate fixed binary decimal decoding - #66388

Draft
Gabriel39 wants to merge 7 commits into
apache:branch-4.1from
Gabriel39:dev/parquet-v2-decimal-direct-filter-4.1
Draft

[opt](parquet) accelerate fixed binary decimal decoding#66388
Gabriel39 wants to merge 7 commits into
apache:branch-4.1from
Gabriel39:dev/parquet-v2-decimal-direct-filter-4.1

Conversation

@Gabriel39

Copy link
Copy Markdown
Contributor

Proposed changes

  • Add a same-scale fast path for fixed-length binary decimal decoding based on physical width.
  • Decode full-width big-endian values directly and preserve sign extension for narrow inputs.
  • Keep target-precision validation before narrowing and preserve strict/non-strict conversion behavior.
  • Add boundary, sign-extension, and narrow-source-domain coverage.

Dependency

This is a stacked PR based on #66360.

Testing

  • Existing targeted decimal SerDe unit tests.

@Gabriel39
Gabriel39 requested a review from yiguolei as a code owner August 3, 2026 11:59
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@Gabriel39
Gabriel39 marked this pull request as draft August 3, 2026 12:01
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