bvaradar commented on code in PR #8360:
URL: https://github.com/apache/hudi/pull/8360#discussion_r1159306419


##########
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/DedupeSparkJob.scala:
##########
@@ -74,7 +74,7 @@ class DedupeSparkJob(basePath: String,
     val metadata = 
HoodieTableMetaClient.builder().setConf(fs.getConf).setBasePath(basePath).build()
 
     val allFiles = fs.listStatus(new 
org.apache.hadoop.fs.Path(s"$basePath/$duplicatedPartitionPath"))
-    val fsView = new HoodieTableFileSystemView(metadata, 
metadata.getActiveTimeline.getCommitTimeline.filterCompletedInstants(), 
allFiles)
+    val fsView = new HoodieTableFileSystemView(metadata, 
metadata.getActiveTimeline.getCommitsTimeline.filterCompletedInstants(), 
allFiles)

Review Comment:
   Thanks for fixing it. 



-- 
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]

Reply via email to