snuyanzin commented on code in PR #27199:
URL: https://github.com/apache/flink/pull/27199#discussion_r2501052027


##########
flink-table/flink-sql-parser/src/test/java/org/apache/flink/sql/parser/MaterializedTableStatementParserTest.java:
##########
@@ -358,6 +361,15 @@ void testDropTemporaryMaterializedTable() {
         sql(sql).fails("DROP TEMPORARY MATERIALIZED TABLE is not supported.");
     }
 
+    @ParameterizedTest(name = "{index}: {0}")
+    @MethodSource("inputForCreateOrAlterMaterializedTable")
+    void testCreateOrAlterMaterializedTable(Map.Entry<String, String> 
sqlToExpected) {
+        final String sql = sqlToExpected.getKey();
+        final String expected = sqlToExpected.getValue();
+
+        sql(sql).ok(expected);
+    }

Review Comment:
   what is the difference between this test body and 
`testCreateMaterializedTable`?
   why can't it be the same test?



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