lilei1128 commented on code in PR #16539:
URL: https://github.com/apache/iceberg/pull/16539#discussion_r3314942795
##########
core/src/test/java/org/apache/iceberg/FileGenerationUtil.java:
##########
@@ -276,7 +276,7 @@ private static long generateContentOffset() {
}
private static long generateContentLength() {
- return random().nextInt(10_000);
Review Comment:
@amogh-jahagirdar Good catch! I've updated generateFileSize() as well to
ensure it always returns a positive value (1 + random().nextInt(50_000)).
Thanks for the suggestion!
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]