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


##########
src/java/org/apache/cassandra/cql3/constraints/ScalarColumnConstraint.java:
##########
@@ -80,8 +80,8 @@ public void evaluate(AbstractType<?> valueType, ByteBuffer 
columnValue)
         }
 
         if (!relationType.isSatisfiedBy(valueType, columnValue, value))
-            throw new ConstraintViolationException("Column value does not 
satisfy value constraint. "
-                                                   + " It should be " + 
relationType + " " + term);
+            throw new ConstraintViolationException("Column value does not 
satisfy value constraint for column " + param + ". "

Review Comment:
   @bbotella could you please put "param" into single quotes? 
   
   `for column '" + param + "'."`



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