1
0

[HUDI-1539] Fix bug in HoodieCombineRealtimeRecordReader with reading empty iterators (#2583)

This commit is contained in:
satishkotha
2021-02-19 15:45:43 -08:00
committed by GitHub
parent b0010bf3b4
commit 0d91c451b0

View File

@@ -71,7 +71,7 @@ public class HoodieCombineRealtimeRecordReader implements RecordReader<NullWrita
} else if (recordReaders.size() > 0) {
this.currentRecordReader.close();
this.currentRecordReader = recordReaders.remove(0);
return this.currentRecordReader.next(key, value);
return next(key, value);
} else {
return false;
}