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 eae81bb4d52d..458f441d034f 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(); }