From 946f2f2a4d143572392d98e4cae4a63dc4a6912b Mon Sep 17 00:00:00 2001 From: Alberto Bastos Date: Tue, 21 Jan 2025 13:28:38 +0100 Subject: [PATCH] linter --- .../java/org/apache/pinot/query/catalog/PinotCatalog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinot-query-planner/src/main/java/org/apache/pinot/query/catalog/PinotCatalog.java b/pinot-query-planner/src/main/java/org/apache/pinot/query/catalog/PinotCatalog.java index eae81bb4d52..458f441d034 100644 --- a/pinot-query-planner/src/main/java/org/apache/pinot/query/catalog/PinotCatalog.java +++ b/pinot-query-planner/src/main/java/org/apache/pinot/query/catalog/PinotCatalog.java @@ -21,7 +21,6 @@ import com.google.common.base.Preconditions; import java.util.Collection; import java.util.Set; -import java.util.stream.Collectors; import javax.annotation.Nullable; import org.apache.calcite.linq4j.tree.Expression; import org.apache.calcite.rel.type.RelProtoDataType; @@ -80,7 +79,8 @@ public Table getTable(String name) { */ @Override public Set getTableNames() { - //return _tableCache.getTableNameMap().keySet().stream().filter(n -> DatabaseUtils.isPartOfDatabase(n, _databaseName)) + //return _tableCache.getTableNameMap().keySet().stream() + // .filter(n -> DatabaseUtils.isPartOfDatabase(n, _databaseName)) // .collect(Collectors.toSet()); return _tableCache.getTableNameMap().keySet(); }