dawidwys commented on a change in pull request #10213: 
[FLINK-12846][table-common] Carry primary key information in TableSchema
URL: https://github.com/apache/flink/pull/10213#discussion_r346834323
 
 

 ##########
 File path: 
flink-table/flink-table-common/src/test/java/org/apache/flink/table/api/TableSchemaTest.java
 ##########
 @@ -192,4 +198,52 @@ public void testDifferentWatermarkStrategyOutputTypes() {
                });
        }
 
+       @Test
+       public void testInvalidPrimaryKeyFieldName() {
+               thrown.expectMessage("The primary key field 'd' is not existed 
in the schema");
 
 Review comment:
   ```suggestion
                thrown.expectMessage("The primary key field 'd' does not exist 
in the schema");
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to