Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(internal/encoding): add Discard method to decoders #280

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

zeroshade
Copy link
Member

Rationale for this change

Building towards proper support for Skipping rows to address #278 we need to be able to efficiently discard values from decoders rather than actively having to allocate a buffer and read into it. This makes the skipping/seeking within a page more efficient.

What changes are included in this PR?

Adding a new Discard method to the Decoder interface along with implementations for all the various decoders

Are these changes tested?

Yes, tests are added for the various decoders.

Are there any user-facing changes?

No, this is in an internal package.

@zeroshade zeroshade merged commit 413bd36 into apache:main Feb 17, 2025
23 checks passed
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