SteNicholas commented on code in PR #413:
URL: https://github.com/apache/flink-table-store/pull/413#discussion_r1042224954


##########
flink-table-store-hive/flink-table-store-hive-catalog/src/test/java/org/apache/flink/table/store/hive/HiveCatalogITCase.java:
##########
@@ -317,6 +318,25 @@ public void testHiveLock() throws InterruptedException {
         assertThat(count.get()).isEqualTo(100);
     }
 
+    @Test
+    public void testUpperCase() {
+        assertThatThrownBy(
+                        () ->
+                                tEnv.executeSql(
+                                                "CREATE TABLE T ( a INT, b 
STRING ) WITH ( 'file.format' = 'avro' )")
+                                        .await())
+                .hasRootCauseMessage(
+                        String.format("Table name[%s] cannot contain upper 
case", "T"));
+
+        assertThatThrownBy(

Review Comment:
   Add the test cases for multiple upper case field names.



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