This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch object_type
in repository https://gitbox.apache.org/repos/asf/tsfile.git


The following commit(s) were added to refs/heads/object_type by this push:
     new 7bbadab3 fix
7bbadab3 is described below

commit 7bbadab3c39b683439e35d4b815ec8a02c6b97ab
Author: HTHou <[email protected]>
AuthorDate: Thu Jul 3 16:28:18 2025 +0800

    fix
---
 java/tsfile/src/main/java/org/apache/tsfile/write/record/Tablet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java/tsfile/src/main/java/org/apache/tsfile/write/record/Tablet.java 
b/java/tsfile/src/main/java/org/apache/tsfile/write/record/Tablet.java
index 5d85d809..feb19822 100644
--- a/java/tsfile/src/main/java/org/apache/tsfile/write/record/Tablet.java
+++ b/java/tsfile/src/main/java/org/apache/tsfile/write/record/Tablet.java
@@ -554,7 +554,7 @@ public class Tablet {
     final Binary[] sensor = (Binary[]) values[columnIndex];
     byte[] val = new byte[content.length + 9];
     val[0] = (byte) (isEOF ? 1 : 0);
-    System.arraycopy(BytesUtils.longToBytes(offset), 1, val, 1, 8);
+    System.arraycopy(BytesUtils.longToBytes(offset), 0, val, 1, 8);
     System.arraycopy(content, 0, val, 9, content.length);
     sensor[rowIndex] = new Binary(val);
     updateBitMap(rowIndex, columnIndex, false);

Reply via email to