aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
diff options
context:
space:
mode:
Diffstat (limited to 'exec/java-exec/src/main/codegen/templates/NullableValueVectors.java')
-rw-r--r--exec/java-exec/src/main/codegen/templates/NullableValueVectors.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java b/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
index 492d49517..398914955 100644
--- a/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
+++ b/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
@@ -258,6 +258,7 @@ public final class ${className} extends BaseValueVector implements <#if type.maj
public void splitAndTransferTo(int startIndex, int length, Nullable${minor.class}Vector target) {
bits.splitAndTransferTo(startIndex, length, target.bits);
values.splitAndTransferTo(startIndex, length, target.values);
+ target.valueCount = length;
<#if type.major == "VarLen">
target.mutator.lastSet = length - 1;
</#if>