From 9f2fc0910e07385d5ccddeed4f3b409e269044a1 Mon Sep 17 00:00:00 2001 From: tianchen Date: Fri, 12 Jul 2019 17:09:17 +0800 Subject: [PATCH] fix --- .../src/main/java/org/apache/arrow/vector/SmallIntVector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/vector/src/main/java/org/apache/arrow/vector/SmallIntVector.java b/java/vector/src/main/java/org/apache/arrow/vector/SmallIntVector.java index a801ef52c1865..34a2426f5bcf9 100644 --- a/java/vector/src/main/java/org/apache/arrow/vector/SmallIntVector.java +++ b/java/vector/src/main/java/org/apache/arrow/vector/SmallIntVector.java @@ -360,7 +360,7 @@ public void setWithPossibleTruncate(int index, long value) { @Override public long getValueAsLong(int index) { - return 0; + return this.get(index); } private class TransferImpl implements TransferPair {