the-other-tim-brown commented on code in PR #13383:
URL: https://github.com/apache/hudi/pull/13383#discussion_r2127000499
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/UnmergedFileGroupRecordBuffer.java:
##########
@@ -69,19 +71,31 @@ protected boolean doHasNext() {
while ((recordIterator == null || !recordIterator.hasNext()) &&
!currentInstantLogBlocks.isEmpty()) {
HoodieLogBlock logBlock = currentInstantLogBlocks.pop();
if (logBlock instanceof HoodieDataBlock) {
+ isDeleteBlock = false;
Review Comment:
Yes it is used here but you need to know that the current iterator is over
deletes vs data blocks so you need to maintain that state between calls to
`doHasNext`
--
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]