Aitozi commented on code in PR #21522:
URL: https://github.com/apache/flink/pull/21522#discussion_r1138424847


##########
flink-table/flink-table-common/src/test/java/org/apache/flink/table/catalog/CatalogTestUtil.java:
##########
@@ -63,7 +79,22 @@ public static void checkEquals(CatalogTable t1, CatalogTable 
t2) {
 
     public static void checkEquals(CatalogView v1, CatalogView v2) {
         assertThat(v2.getTableKind()).isEqualTo(v1.getTableKind());
-        assertThat(v1.getSchema()).isEqualTo(v1.getSchema());
+
+        ResolvedSchema schema1;
+        if (v1 instanceof ResolvedCatalogView) {

Review Comment:
   Good suggestion 👍🏻. Updated



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