[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:
This commit is contained in:
Ashin Gau
2023-10-13 14:23:17 +08:00
committed by GitHub
parent fc40788018
commit 522faa8cd2

View File

@ -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++;
}