sergeyuttsel commented on a change in pull request #7404: IGNITE-12433 checking 
column names for duplicates on create table statement
URL: https://github.com/apache/ignite/pull/7404#discussion_r379474861
 
 

 ##########
 File path: 
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheSqlQueryErrorSelfTest.java
 ##########
 @@ -160,6 +160,12 @@ public void testDdlWrongColumnName() throws Exception {
 
         checkSqlErrorMessage("alter table test drop column wrong",
             "Failed to parse query. Column \"WRONG\" not found");
+
+        checkSqlErrorMessage("create table test(id integer primary key, AgE 
integer, AGe integer)",
+            "Duplicate column name: AGE");
+
+        checkSqlErrorMessage("create table test(\"id\" integer primary key, 
\"age\" integer, \"age\" integer)",
+            "Duplicate column name: age");
 
 Review comment:
   Done.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to