MehulBatra commented on code in PR #1409:
URL: https://github.com/apache/fluss/pull/1409#discussion_r2258125070


##########
fluss-common/src/main/java/com/alibaba/fluss/row/encode/iceberg/IcebergBinaryRowWriter.java:
##########
@@ -127,26 +119,42 @@ public void writeDouble(double value) {
     }
 
     public void writeString(BinaryString value) {
+        writeString(value, false);
+    }
+
+    public void writeString(BinaryString value, boolean skipEncodeLength) {

Review Comment:
   With helper method it will be
   ```
   public void writeString(BinaryString value, boolean skipEncodeLength) {
       byte[] bytes = BinaryString.encodeUTF8(value.toString());
       writeByteArray(bytes, skipEncodeLength);
   }
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to