1
0

[MINOR] Fix Compile broken (#4263)

This commit is contained in:
leesf
2021-12-09 13:12:18 +08:00
committed by GitHub
parent 9c8ad0f0fa
commit 5ac9ce7289

View File

@@ -403,7 +403,7 @@ public class TestHoodieLogFormat extends HoodieCommonTestHarness {
byte[] dataBlockContentBytes = getDataBlock(records, header).getContentBytes();
HoodieDataBlock reusableDataBlock = new HoodieAvroDataBlock(null, null,
Option.ofNullable(dataBlockContentBytes), false, 0, dataBlockContentBytes.length,
0, getSimpleSchema(), header, new HashMap<>());
0, getSimpleSchema(), header, new HashMap<>(), HoodieRecord.RECORD_KEY_METADATA_FIELD);
long writtenSize = 0;
int logBlockWrittenNum = 0;
while (writtenSize < Integer.MAX_VALUE) {