efegokdemir opened a new pull request, #11209:
URL: https://github.com/apache/arrow-rs/pull/11209

   ## Summary
   
   `MutableArrayData::try_extend_nulls(0)` now returns without dispatching to 
union-specific null extension logic. This prevents empty sparse and dense 
unions from indexing a nonexistent first child when extending by zero elements.
   
   Fixes #11198
   
   ## Testing
   
   - `cargo test -p arrow-data --lib`
   - `cargo fmt --all -- --check`
   - `git diff --check`
   
   All passed.
   
   ## Notes
   
   The regression test covers both sparse and dense empty unions and verifies 
that the zero-length operation remains a no-op.
   
   AI assistance was used during implementation; the change and validation were 
reviewed before submission.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to