1
0

[MINOR] HoodieFileScanRDD could print null path (#5056)

Co-authored-by: Rex An <bonean131@gmail.com>
This commit is contained in:
RexAn
2022-03-18 03:53:45 +08:00
committed by GitHub
parent 7446ff95a7
commit 9ece77561a

View File

@@ -47,8 +47,8 @@ class HoodieFileScanRDD(@transient private val sparkSession: SparkSession,
/** Advances to the next file. Returns true if a new non-empty iterator is available. */
private def nextIterator(): Boolean = {
if (files.hasNext) {
logInfo(s"Reading File $currentFile")
currentFile = files.next()
logInfo(s"Reading File $currentFile")
currentIterator = readFunction(currentFile)
try {