xuefuz commented on a change in pull request #8222: [FLINK-11518] [table] Add 
partition related catalog APIs and implement them in GenericInMemoryCatalog
URL: https://github.com/apache/flink/pull/8222#discussion_r277786569
 
 

 ##########
 File path: 
flink-table/flink-table-common/src/main/java/org/apache/flink/table/catalog/CatalogTable.java
 ##########
 @@ -29,4 +32,15 @@
         * @return table statistics
         */
        TableStats getStatistics();
+
+       /**
+        * Check if the table is partitioend or not.
+        */
+       boolean isPartitioned();
+
+       /**
+        * Get the partition keys of the table. This will be an empty set if 
the table is not partitioned.
+        * @return partition keys of the table.
+        */
 
 Review comment:
   Document the exception thrown from this method.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to