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

GH-45532: [C++] RunEndEncodedBuilder should clear dimensions after a Finish() call #45533

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lesterfan
Copy link

@lesterfan lesterfan commented Feb 13, 2025

Rationale for this change

This resolves the issue reported in #45532. Specifically, this updates the RunEndEncodedBuilder dimensions after a Finish() call and therefore makes the function idempotent.

What changes are included in this PR?

This updates the RunEndEncodedBuilder's dimensions after a Finish() call and adds a test which ensures the function properly resets the builder state and is idempotent.

Are these changes tested?

Yes

Are there any user-facing changes?

Yes; this is a bug fix to a user-facing API.

Copy link

⚠️ GitHub issue #45532 has been automatically assigned in GitHub to PR creator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant