Skip to content

Conversation

@selvaganesang
Copy link

ARROW-XXXX: [Java] Make StructVector.reallocValidityBuffer protected
Changes the access modifier of reallocValidityBuffer from package-private to protected.

This allows subclasses to reallocate the validity buffer independently of the struct elements. Previously,
expanding the validity buffer required a full vector reallocation, which could cause an OversizedAllocationException
if the child data vectors were already near their capacity.

Changes the access modifier of `reallocValidityBuffer` from package-private to protected.

This allows subclasses to reallocate the validity buffer independently of the struct elements. Previously,
expanding the validity buffer required a full vector reallocation, which could cause an `OversizedAllocationException`
if the child data vectors were already near their capacity.
@selvaganesang
Copy link
Author

selvaganesang commented Jan 29, 2026

Closed it because it was against main branch instead of dremio_27.0_20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant