vamshikrishnakyatham commented on code in PR #14017:
URL: https://github.com/apache/hudi/pull/14017#discussion_r2396412306
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/cdc/CDCFileGroupIterator.scala:
##########
@@ -221,38 +223,43 @@ class CDCFileGroupIterator(split: HoodieCDCFileGroupSplit,
}
@tailrec final def hasNextInternal: Boolean = {
- if (needLoadNextFile) {
- loadCdcFile()
- }
- if (currentCDCFileSplit == null) {
- false
+ if (nextRecordLoaded) {
Review Comment:
done
--
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]