ulysses-you commented on code in PR #5101:
URL: https://github.com/apache/paimon/pull/5101#discussion_r1962783278


##########
paimon-common/src/main/java/org/apache/paimon/utils/InternalRowUtils.java:
##########
@@ -145,6 +206,10 @@ public static Object copy(Object o, DataType type) {
                 return copyMap(
                         (InternalMap) o, ((MultisetType) 
type).getElementType(), new IntType());
             }
+        } else if (o instanceof byte[]) {
+            byte[] copy = new byte[((byte[]) o).length];
+            System.arraycopy(((byte[]) o), 0, copy, 0, ((byte[]) o).length);
+            return copy;

Review Comment:
   not related to this pr in fact. just a kind of bug.. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to