[
https://issues.apache.org/jira/browse/CASSANDRA-20266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923456#comment-17923456
]
Stefan Miklosovic edited comment on CASSANDRA-20266 at 2/3/25 7:53 PM:
-----------------------------------------------------------------------
+1 but we need to build. Dont' we have tests for this? No test needs to be
updated? We should cover these messages by tests.
was (Author: smiklosovic):
+1 but we need to build.
> Mention column name for ScalarColumnConstraint on unsuccessful evaluation
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-20266
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20266
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Feature/Constraints
> Reporter: Stefan Miklosovic
> Assignee: Bernardo Botella Corbi
> Priority: Normal
> Fix For: 5.x
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> There is currently
> {code:java}
> "Column value does not satisfy value constraint. It should be " +
> relationType + " " + term{code}
> We are missing column name there. When I have constraints on two columns,
> both of them are scalars, then I just do not know for which column the
> constraint was not satisfied.
> In ScalarColumnConstraint, we have "param" field of ColumnIdentifier type
> where name of the column is.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]