Skip to content

Commit

Permalink
[MINOR] HoodieFileScanRDD could print null path (#5056)
Browse files Browse the repository at this point in the history
Co-authored-by: Rex An <bonean131@gmail.com>
  • Loading branch information
RexAn and boneanxs authored Mar 17, 2022
1 parent 7446ff9 commit 9ece775
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9ece775

Please sign in to comment.