walterddr commented on a change in pull request #8340:
URL: https://github.com/apache/pinot/pull/8340#discussion_r825152088



##########
File path: 
pinot-query-planner/src/main/java/org/apache/pinot/query/catalog/PinotCatalog.java
##########
@@ -0,0 +1,83 @@
+package org.apache.pinot.query.catalog;
+
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Set;
+import org.apache.calcite.linq4j.tree.Expression;
+import org.apache.calcite.rel.type.RelProtoDataType;
+import org.apache.calcite.schema.Function;
+import org.apache.calcite.schema.Schema;
+import org.apache.calcite.schema.SchemaPlus;
+import org.apache.calcite.schema.SchemaVersion;
+import org.apache.calcite.schema.Table;
+import org.apache.pinot.common.config.provider.TableCache;
+import org.apache.pinot.spi.utils.builder.TableNameBuilder;
+
+
+/**
+ * Simple Catalog that only contains list of tables. Backed by {@link 
TableCache}.
+ */
+public class PinotCatalog implements Schema {

Review comment:
       this extends apache calcite plugin Schema. required to use calcite 
logical rel plan optimizer 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to