Commits


Maksim Yegorov authored and GitHub committed 5fe87a3cd12
GH-44626: [Java] fix SplitAndTransfer throws for empty MapVector (#44627) ### Rationale for this change Empty MapVector.splitAndTransfer throws `java.lang.IndexOutOfBoundsException`. Details in https://github.com/apache/arrow/issues/44626 ### What changes are included in this PR? Fixed for MapVector as for other vector types in #41066 ### Are these changes tested? Added unit test mimicking the scenario we've observed where MapVector's offset buffer capacity is 0. * GitHub Issue: #44626 Authored-by: Maksim Yegorov <59841139+maksimyego-db@users.noreply.github.com> Signed-off-by: David Li <li.davidm96@gmail.com>