hililiwei commented on a change in pull request #3784:
URL: https://github.com/apache/iceberg/pull/3784#discussion_r819297661
##########
File path:
flink/v1.14/flink/src/test/java/org/apache/iceberg/flink/actions/TestRewriteDataFilesAction.java
##########
@@ -331,7 +330,7 @@ public void testRewriteAvoidRepeateCompress() throws
IOException {
try (FileAppender<Record> fileAppender =
genericAppenderFactory.newAppender(Files.localOutput(file), format)) {
long filesize = 20000;
for (; fileAppender.length() < filesize; count++) {
- Record record = SimpleDataUtil.createRecord(count, "iceberg");
Review comment:
because of some optimization mechanisms, when writing a large amount of
duplicate data,
there will be some deviation between the estimated and the actual size.
However, when cached data is flushed (the amount or size exceeds the
threshold), the estimate is revised.
--
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]