ivandasch commented on code in PR #9973:
URL: https://github.com/apache/ignite/pull/9973#discussion_r850261158


##########
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/index/H2DynamicTableSelfTest.java:
##########
@@ -619,6 +621,29 @@ public void testQueryParallelism() {
         assertQueryParallelism("QP_OVERWRITE_TEMPLATE", 42);
     }
 
+    /**
+     * Test keywords in table name.
+     * Try to create table with all keywords.
+     */
+    @Test
+    public void testCreateTableWithKeywordName() {
+        int i = 0;
+
+        Set<String> keywords = SqlKeyword.getKeywords();
+
+        for (String entry : keywords
+        ) {
+            try {
+                doTestCreateTable(entry, null, null, null);

Review Comment:
   You should use `assertThrows` here. You should also test the case when name 
is surrounded with quotes.



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