Skip to content

Conversation

@platinumhamburg
Copy link
Contributor

This PR is based on @binary-signal's #2165. Thanks to him for the detailed root cause analysis and fix; I've only added a small optimization on top of his commit.

Purpose

Linked issue: close #2164

Brief change log

Tests

API and Format

Documentation

binary-signal and others added 2 commits December 31, 2025 09:17
Signed-off-by: binary-signal <binary-signal@github.noreply.com>
- Make INITIAL_CAPACITY public in ArrowWriter to allow access from ArrowArrayWriter
- Replace hardcoded handleSafe=true with dynamic check based on fieldIndex
- Only use safe write when fieldIndex exceeds INITIAL_CAPACITY, improving performance for arrays with indices below the initial capacity
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.

[Bug] IndexOutOfBoundsException when writing rows with array columns to KV table

1 participant