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


##########
src/java/org/apache/cassandra/cql3/constraints/ScalarColumnConstraint.java:
##########
@@ -125,11 +127,18 @@ protected void internalEvaluate(AbstractType<?> 
valueType, ByteBuffer columnValu
     @Override
     public void validate(ColumnMetadata columnMetadata) throws 
InvalidConstraintDefinitionException
     {
+        returnType = columnMetadata.type;
+
+        if (!columnMetadata.name.equals(columnName))

Review Comment:
   Actually, it has to stay. We still need this for exactly I wrote above.



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to