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


##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/operations/SqlMaterializedTableNodeToOperationConverterTest.java:
##########
@@ -668,7 +667,9 @@ void testCreateOrAlterMaterializedTableForExistingTable() 
throws TableNotExistEx
                         TableChange.modifyDefinitionQuery(
                                 "SELECT `a`, `b`, `c`, `d`, `d` AS `e`, 
CAST('123' AS STRING) AS `f`\nFROM `t3`",
                                 "SELECT `t3`.`a`, `t3`.`b`, `t3`.`c`, 
`t3`.`d`, `t3`.`d` AS `e`, CAST('123' AS STRING) AS `f`\n"
-                                        + "FROM `builtin`.`default`.`t3` AS 
`t3`"));
+                                        + "FROM `builtin`.`default`.`t3` AS 
`t3`"),
+                        TableChange.set("format", "json2"),
+                        TableChange.reset("connector"));

Review Comment:
   since it is altering part, compare against create MT at the beginning 
https://github.com/snuyanzin/flink/blob/73b79dae6b9ec770d25121fda015fd4b33a0d7b7/flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/operations/SqlMaterializedTableNodeToOperationConverterTest.java#L102-L114



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