Commit 58683e4
Fix setValueCount in splitAndTransfer of Variable Width Vector.
We need to use the split length as the value count of the target
vector. We are incorrectly using the value count of the current
vector for the target vector. Thus the latter ends up asking
for a realloc when it didn't really need extra memory.1 parent a97b757 commit 58683e4
File tree
1 file changed
+1
-3
lines changed- java/vector/src/main/java/org/apache/arrow/vector
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | | - | |
715 | | - | |
716 | | - | |
| 714 | + | |
717 | 715 | | |
718 | 716 | | |
719 | 717 | | |
| |||
0 commit comments