JingsongLi commented on a change in pull request #18088:
URL: https://github.com/apache/flink/pull/18088#discussion_r767571857



##########
File path: 
flink-table/flink-table-common/src/main/java/org/apache/flink/table/catalog/DefaultCatalogTable.java
##########
@@ -39,16 +39,19 @@
     private final @Nullable String comment;
     private final List<String> partitionKeys;
     private final Map<String, String> options;
+    private final TableKind tableKind;
 
     protected DefaultCatalogTable(
             Schema schema,
             @Nullable String comment,
             List<String> partitionKeys,
-            Map<String, String> options) {
+            Map<String, String> options,
+            TableKind tableKind) {
         this.schema = checkNotNull(schema, "Schema must not be null.");
         this.comment = comment;
         this.partitionKeys = checkNotNull(partitionKeys, "Partition keys must 
not be null.");
         this.options = checkNotNull(options, "Options must not be null.");
+        this.tableKind = checkNotNull(tableKind, "Table kind must not be 
null.");

Review comment:
       We can introduce a `DefaultManagedTable`. 




-- 
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]


Reply via email to