Copilot commented on code in PR #6470:
URL: https://github.com/apache/paimon/pull/6470#discussion_r2459408576


##########
paimon-common/src/test/java/org/apache/paimon/fs/MultiPartUploadTwoPhaseOutputStreamTest.java:
##########
@@ -122,6 +122,40 @@ void testCloseForCommitIdempotent() throws IOException {
         first.commit(fileIO);
     }
 
+    @Test
+    void testBigWriteSplitByThreshold() throws IOException {
+        TestMultiPartUploadTwoPhaseOutputStream stream =
+                new TestMultiPartUploadTwoPhaseOutputStream(store, objectPath, 
5);
+
+        byte[] data1 = "abc".getBytes(StandardCharsets.UTF_8); // 10 bytes, 
threshold=5

Review Comment:
   Corrected comment: 'abc' is 3 bytes, not 10 bytes.
   ```suggestion
           byte[] data1 = "abc".getBytes(StandardCharsets.UTF_8); // 3 bytes, 
threshold=5
   ```



-- 
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