You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2023/10/09 07:06:10 UTC

[linkis] 10/11: Fix build error

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

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

commit b63f34c5b2fa88db1880cd32eaab3615704b7de3
Author: peacewong <wp...@gmail.com>
AuthorDate: Wed Oct 4 23:49:50 2023 +0800

    Fix build error
---
 .../org/apache/linkis/storage/resultset/StorageResultSetReader.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/resultset/StorageResultSetReader.java b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/resultset/StorageResultSetReader.java
index 23d65e061..c0222cc84 100644
--- a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/resultset/StorageResultSetReader.java
+++ b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/resultset/StorageResultSetReader.java
@@ -86,7 +86,7 @@ public class StorageResultSetReader<K extends MetaData, V extends Record>
     byte[] rowBuffer = null;
     try {
       rowBuffer = new byte[rowLen];
-      len = StorageUtils.readBytes(inputStream, rowBuffer, READ_CACHE);
+      len = StorageUtils.readBytes(inputStream, rowBuffer, rowLen);
     } catch (OutOfMemoryError error) {
       logger.error("Result set read oom, read size {} Byte", rowLen);
       throw new RuntimeException(error);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org