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


##########
src/java/org/apache/cassandra/schema/TableMetadata.java:
##########
@@ -1482,6 +1488,32 @@ public Builder alterColumnMask(ColumnIdentifier name, 
@Nullable ColumnMask mask)
             return this;
         }
 
+        public Builder alterColumnComment(ColumnIdentifier name, String 
comment)
+        {
+            ColumnMetadata column = columns.get(name.bytes);
+            if (column == null)
+                throw new IllegalArgumentException();

Review Comment:
   no message?



##########
src/java/org/apache/cassandra/schema/TableMetadata.java:
##########
@@ -1482,6 +1488,32 @@ public Builder alterColumnMask(ColumnIdentifier name, 
@Nullable ColumnMask mask)
             return this;
         }
 
+        public Builder alterColumnComment(ColumnIdentifier name, String 
comment)
+        {
+            ColumnMetadata column = columns.get(name.bytes);
+            if (column == null)
+                throw new IllegalArgumentException();
+
+            ColumnMetadata newColumn = column.withNewComment(comment);
+
+            updateColumn(column, newColumn);
+
+            return this;
+        }
+
+        public Builder alterColumnSecurityLabel(ColumnIdentifier name, String 
securityLabel)
+        {
+            ColumnMetadata column = columns.get(name.bytes);
+            if (column == null)
+                throw new IllegalArgumentException();

Review Comment:
   no message?



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