garyli1019 commented on a change in pull request #1602:
URL: https://github.com/apache/hudi/pull/1602#discussion_r435651881
##########
File path:
hudi-client/src/test/java/org/apache/hudi/client/TestHoodieClientOnCopyOnWriteStorage.java
##########
@@ -1041,10 +1041,12 @@ private HoodieWriteConfig getSmallInsertWriteConfig(int
insertSplitSize, boolean
HoodieWriteConfig.Builder builder = getConfigBuilder(useNullSchema ?
NULL_SCHEMA : TRIP_EXAMPLE_SCHEMA);
return builder
.withCompactionConfig(
-
HoodieCompactionConfig.newBuilder().compactionSmallFileSize(HoodieTestDataGenerator.SIZE_PER_RECORD
* 15)
- .insertSplitSize(insertSplitSize).build()) // tolerate upto 15
records
+ HoodieCompactionConfig.newBuilder()
+
.compactionSmallFileSize(HoodieTestDataGenerator.BYTES_PER_RECORD * 150 +
HoodieTestDataGenerator.BLOOM_FILTER_BYTES)
Review comment:
added a method to calculate this value
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]