Skip to content

Commit

Permalink
[fix](jni) the offset in map type is int64 (#25394)
Browse files Browse the repository at this point in the history
The offset in map type column is int64, but #24810 has put as int32, causing error like:
  • Loading branch information
AshinGau authored Oct 13, 2023
1 parent fc40788 commit 522faa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ public int appendMap(List<ColumnValue> keys, List<ColumnValue> values) {
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++;
}

Expand Down

0 comments on commit 522faa8

Please sign in to comment.