From 354f72aeb83a6932a14f8a368bfc520449070dde Mon Sep 17 00:00:00 2001 From: ClownXC <598457447@qq.com> Date: Sun, 5 Jan 2025 09:31:43 +0800 Subject: [PATCH] Fix style --- .../apache/calcite/materialize/MaterializationService.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/main/java/org/apache/calcite/materialize/MaterializationService.java b/core/src/main/java/org/apache/calcite/materialize/MaterializationService.java index 34676f546463..195f50fb9171 100644 --- a/core/src/main/java/org/apache/calcite/materialize/MaterializationService.java +++ b/core/src/main/java/org/apache/calcite/materialize/MaterializationService.java @@ -50,7 +50,6 @@ import java.util.LinkedHashSet; import java.util.List; import java.util.Map; -import java.util.PriorityQueue; import java.util.Set; import static org.apache.calcite.linq4j.Nullness.castNonNull; @@ -260,9 +259,6 @@ && allSatisfiable(measureList, tileKey2)) { } } } - if (bestCandidate != null) { - return bestCandidate; - } } // What we need is not there. If we can't create, we're done.