Skip to content

GH-51144: [C++] Incorrect Logic for AdaptiveUIntBuilder::AppendValues - #51146

Merged
pitrou merged 1 commit into
apache:mainfrom
andishgar:AdaptiveBuilder_Correction
Sep 3, 2026
Merged

GH-51144: [C++] Incorrect Logic for AdaptiveUIntBuilder::AppendValues#51146
pitrou merged 1 commit into
apache:mainfrom
andishgar:AdaptiveBuilder_Correction

Conversation

@andishgar

@andishgarandishgar commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

arrow::AdaptiveUIntBuilder::AppendValues creates incorrect results when combined with arrow::AdaptiveUIntBuilder::Append.

What changes are included in this PR?

Correct the logic of arrow::AdaptiveUIntBuilder::AppendValues and add the relevant unit test.

Are these changes tested?

Yes. I ran the relevant unit test.

Are there any user-facing changes?

No.

This PR contains a "Critical Fix". (b) A bug that caused incorrect or invalid data to be produced.

Correct the logic of AppendValues
@github-actions

Copy link
Copy Markdown

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

@github-actionsgithub-actionsBot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Sep 3, 2026
@pitroupitrou added Critical Fix Bugfixes for security vulnerabilities, crashes, or invalid data. backport-candidate labels Sep 3, 2026
@pitrou

Copy link
Copy Markdown
Member

Thanks for finding and fixing this @andishgar !

@pitrou
pitrou merged commit 1b0b16a into apache:mainSep 3, 2026
91 of 112 checks passed
@pitroupitrou removed the awaiting committer review Awaiting committer review label Sep 3, 2026
@andishgar
andishgar deleted the AdaptiveBuilder_Correction branch September 3, 2026 22:12
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-candidateComponent: C++Critical FixBugfixes for security vulnerabilities, crashes, or invalid data.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@andishgar@pitrou