Skip to content

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

Open
nastra wants to merge 1 commit into
apache:masterfrom
nastra:add-missing-on-append
Open

GH-3627: Add missing onAppend() to VariantBuilder#appendUUIDBytes#3624
nastra wants to merge 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
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