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.
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