smiklosovic commented on code in PR #3562:
URL: https://github.com/apache/cassandra/pull/3562#discussion_r1916360637


##########
src/java/org/apache/cassandra/cql3/statements/schema/AlterTableStatement.java:
##########
@@ -767,6 +839,8 @@ public AlterTableStatement prepare(ClientState state)
                 case        RENAME_COLUMNS: return new 
RenameColumns(keyspaceName, tableName, renamedColumns, ifTableExists, 
ifColumnExists);
                 case         ALTER_OPTIONS: return new 
AlterOptions(keyspaceName, tableName, attrs, ifTableExists);
                 case  DROP_COMPACT_STORAGE: return new 
DropCompactStorage(keyspaceName, tableName, ifTableExists);
+                case       DROP_CONSTRAINT: return new 
DropConstraint(keyspaceName, tableName, ifTableExists, constraintName);
+                case       ALTER_CONSTRAINTS: return new 
AlterConstraints(keyspaceName, tableName, ifTableExists, constraintName, 
constraints);

Review Comment:
   @bbotella please align all other cases with ALTER_CONSTRAINTS so `:` is on 
the same position



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to