bowenli86 commented on a change in pull request #8314: [FLINK-12365][table] Add 
stats related catalog APIs
URL: https://github.com/apache/flink/pull/8314#discussion_r279500369
 
 

 ##########
 File path: 
flink-table/flink-table-api-java/src/test/java/org/apache/flink/table/catalog/GenericInMemoryCatalogTest.java
 ##########
 @@ -1104,6 +1104,43 @@ public void testDropFunction_FunctionNotExist_ignored() 
throws Exception {
                catalog.dropDatabase(db1, false);
        }
 
+       // ------ statistics ------
+
+       @Test
+       public void testStatistics() throws Exception {
+               // Table related
+               catalog.createDatabase(db1, createDb(), false);
+               GenericCatalogTable table = createTable();
+               catalog.createTable(path1, table, false);
+               assertTrue(catalog.getTableStatistics(path1) == null);
 
 Review comment:
   nit: to follow the format in this file, can we have an empty line between 
assertions and code to be tested?

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