matriv commented on a change in pull request #17624:
URL: https://github.com/apache/flink/pull/17624#discussion_r740191985



##########
File path: 
flink-table/flink-table-api-java/src/test/java/org/apache/flink/table/catalog/CatalogBaseTableResolutionTest.java
##########
@@ -170,6 +170,28 @@ public void testPropertyDeserializationError() {
         }
     }
 
+    @Test
+    public void testInvalidPartitionKeys() {
+        final CatalogTable catalogTable =
+                CatalogTable.of(
+                        TABLE_SCHEMA,
+                        null,
+                        Arrays.asList("region", "countyINVALID"),
+                        Collections.emptyMap());
+
+        try {
+            resolveCatalogBaseTable(ResolvedCatalogTable.class, catalogTable);
+            fail();

Review comment:
       nit: Maybe a short message in case this is reached.




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