Timm0 commented on code in PR #30029:
URL: https://github.com/apache/flink/pull/30029#discussion_r4632032177


##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/operations/SqlRTASNodeToOperationConverterTest.java:
##########
@@ -106,6 +106,22 @@ void testReplaceTableAsWithMismatchIdentifiersLength() {
                                 + "must match the number of columns in the 
source schema.");
     }
 
+    @Test
+    void testReplaceTableAsWithRepeatedColumnNames() {

Review Comment:
   The CTAS, RTAS and MT converter tests mirror each other for every 
MergeTableAsUtil rule (e.g. column not found, count mismatch, …). I kept that 
pattern so the repeat rule isn't the only one tested for CTAS alone. This also 
helps us to prevent behavior changes when one path does not use 
`MergeTableAsUtil#reorderSchema` and `#mergeSchemas` anymore.



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