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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 37ebf45ef7 [hotfix] compile error in AbstractBinaryWriter (#6276)
37ebf45ef7 is described below

commit 37ebf45ef7add10b19c86946929092deb4a64f2e
Author: jerry <[email protected]>
AuthorDate: Wed Sep 17 18:31:10 2025 +0800

    [hotfix] compile error in AbstractBinaryWriter (#6276)
---
 .../src/main/java/org/apache/paimon/data/AbstractBinaryWriter.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/paimon-common/src/main/java/org/apache/paimon/data/AbstractBinaryWriter.java 
b/paimon-common/src/main/java/org/apache/paimon/data/AbstractBinaryWriter.java
index a4df6d1797..c03dd704b9 100644
--- 
a/paimon-common/src/main/java/org/apache/paimon/data/AbstractBinaryWriter.java
+++ 
b/paimon-common/src/main/java/org/apache/paimon/data/AbstractBinaryWriter.java
@@ -196,7 +196,8 @@ abstract class AbstractBinaryWriter implements BinaryWriter 
{
 
     @Override
     public void writeBlob(int pos, Blob blob) {
-        writeBinary(pos, blob.toBytes());
+        byte[] bytes = blob.toBytes();
+        writeBinary(pos, bytes, 0, bytes.length);
     }
 
     protected void zeroOutPaddingBytes(int numBytes) {

Reply via email to