This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 522faa8cd2f [fix](jni) the offset in map type is int64 (#25394) 522faa8cd2f is described below commit 522faa8cd2fd9d7c16d4b692ba62099efa55e9b9 Author: Ashin Gau <ashin...@users.noreply.github.com> AuthorDate: Fri Oct 13 14:23:17 2023 +0800 [fix](jni) the offset in map type is int64 (#25394) The offset in map type column is int64, but #24810 has put as int32, causing error like: --- .../src/main/java/org/apache/doris/common/jni/vec/VectorColumn.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/be-java-extensions/java-common/src/main/java/org/apache/doris/common/jni/vec/VectorColumn.java b/fe/be-java-extensions/java-common/src/main/java/org/apache/doris/common/jni/vec/VectorColumn.java index 6d0ede0a4f3..381422931d4 100644 --- a/fe/be-java-extensions/java-common/src/main/java/org/apache/doris/common/jni/vec/VectorColumn.java +++ b/fe/be-java-extensions/java-common/src/main/java/org/apache/doris/common/jni/vec/VectorColumn.java @@ -605,7 +605,7 @@ public class VectorColumn { childColumns[1].appendValue(v); } reserve(appendIndex + 1); - OffHeap.putInt(null, offsets + 8L * appendIndex, startOffset + length); + OffHeap.putLong(null, offsets + 8L * appendIndex, startOffset + length); return appendIndex++; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org