Skip to content

Commit

Permalink
Optimizable functions should be taken from candidates.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Nov 8, 2023
1 parent f5d4c03 commit 9890c66
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ public Object execute(ExecutionEvent event) throws ExecutionException {
transformationsPrinter.printRecord(buildAttributeColumnValues(function, transformation));
}

// optimizable functions.
Set<Function> optimizableFunctions = processor.getOptimizableFunctions();
// optimizable candidate functions.
Set<Function> optimizableFunctions = Sets.intersection(candidates, processor.getOptimizableFunctions());
resultsPrinter.print(optimizableFunctions.size()); // number.

for (Function function : optimizableFunctions)
Expand Down

0 comments on commit 9890c66

Please sign in to comment.