Skip to content

Commit

Permalink
Use SupportsPrefixOperations for Remove OrphanFile Procedure on Spark…
Browse files Browse the repository at this point in the history
… 3.5
  • Loading branch information
Ismail Simsek committed Jan 8, 2025
1 parent 2212f2a commit b4f5ede
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,7 @@ public boolean accept(Path path) {
}

// if any of the parent folders is not accepted then return false
if (hasHiddenPttParentFolder(path)) {
return false;
}

return doAccept(path);
return doAccept(path) && !hasHiddenPttParentFolder(path);
}

private boolean doAccept(Path path) {
Expand Down

0 comments on commit b4f5ede

Please sign in to comment.