amogh-jahagirdar commented on code in PR #10229: URL: https://github.com/apache/iceberg/pull/10229#discussion_r1581496884
########## spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/DeleteOrphanFilesSparkAction.java: ########## @@ -398,13 +399,13 @@ static List<String> findOrphanFiles( spark.sparkContext().register(conflicts); Column joinCond = actualFileIdentDS.col("path").equalTo(validFileIdentDS.col("path")); - - List<String> orphanFiles = + PatriciaTrie<String> files = new PatriciaTrie<>(); Review Comment: We also do a listing of files on the driver, I'll explore using the structure there as well. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org