lsyldliu commented on code in PR #24700:
URL: https://github.com/apache/flink/pull/24700#discussion_r1577721624


##########
flink-table/flink-table-api-java/src/test/java/org/apache/flink/table/catalog/CatalogBaseTableResolutionTest.java:
##########
@@ -140,6 +165,30 @@ void testCatalogTableResolution() {
         assertThat(resolvedTable.getSchema()).isEqualTo(LEGACY_TABLE_SCHEMA);
     }
 
+    @Test
+    void testCatalogMaterializedTableResolution() {
+        final CatalogMaterializedTable materializedTable = 
catalogMaterializedTable();
+
+        assertThat(materializedTable.getUnresolvedSchema()).isNotNull();
+
+        final ResolvedCatalogMaterializedTable resolvedMaterializedTable =
+                
resolveCatalogBaseTable(ResolvedCatalogMaterializedTable.class, 
materializedTable);
+
+        assertThat(resolvedMaterializedTable.getResolvedSchema())

Review Comment:
   No, `materializedTable` is an instance of `DefaultCatalogMaterializedTable`, 
`resolvedMaterializedTable` is an instance of 
`ResolvedCatalogMaterializedTable`.



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