Skip to content

GH-3627: Add missing onAppend() to VariantBuilder#appendUUIDBytes#3624

Merged
wgtmac merged 1 commit into
apache:masterfrom
nastra:add-missing-on-append
Jun 24, 2026
Merged

GH-3627: Add missing onAppend() to VariantBuilder#appendUUIDBytes#3624
wgtmac merged 1 commit into
apache:masterfrom
nastra:add-missing-on-append

Conversation

@nastra

@nastra nastra commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

This adds a missing onAppend() to VariantBuilder#appendUUIDBytes. Every other append method calls onAppend() first, but appendUUIDBytes does not. This causes:

  • invalid multi-value buffer on a root VariantBuilder because multiple UUIDs can be written back-to-back
  • the offset list to be wrong on a VariantArrayBuilder

Closes #3627

What changes are included in this PR?

Are these changes tested?

added 3 new tests that reproduce the underlying issue

Are there any user-facing changes?

@nastra

nastra commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

/cc @Fokko @wgtmac

@nastra nastra changed the title Add missing onAppend() to VariantBuilder#appendUUIDBytes GH-3627: Add missing onAppend() to VariantBuilder#appendUUIDBytes Jun 22, 2026
@wgtmac wgtmac merged commit 6129423 into apache:master Jun 24, 2026
3 checks passed
@nastra nastra deleted the add-missing-on-append branch June 24, 2026 06:35
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.

VariantBuilder#appendUUIDBytes misses onAppend() call

2 participants