Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
johanl-db committed Feb 14, 2024
1 parent 387dcf6 commit 0b0fcb9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class OptimizeExecutor(

val filesToProcess = optimizeContext.reorg match {
case Some(reorgOperation) => reorgOperation.filterFilesToReorg(candidateFiles)
case None => pruneCandidateFileList(minFileSize, maxDeletedRowsRatio, candidateFiles)
case None => filterCandidateFileList(minFileSize, maxDeletedRowsRatio, candidateFiles)
}
val partitionsToCompact = filesToProcess.groupBy(_.partitionValues).toSeq

Expand Down Expand Up @@ -341,7 +341,7 @@ class OptimizeExecutor(
* Helper method to prune the list of selected files based on fileSize and ratio of
* deleted rows according to the deletion vector in [[AddFile]].
*/
private def pruneCandidateFileList(
private def filterCandidateFileList(
minFileSize: Long, maxDeletedRowsRatio: Double, files: Seq[AddFile]): Seq[AddFile] = {

// Select all files in case of multi-dimensional clustering
Expand Down

0 comments on commit 0b0fcb9

Please sign in to comment.