You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2025/03/21 10:56:00 UTC
[jira] [Commented] (CASSANDRA-20268) Add constraints support to be used with MASKED statements
[ https://issues.apache.org/jira/browse/CASSANDRA-20268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937374#comment-17937374 ]
Stefan Miklosovic commented on CASSANDRA-20268:
-----------------------------------------------
I couldn't find a way how to support check and mask simultaneously. Thinking about it more, I think it is actually desirable to specify either mask or check - in other words, altering a column with one "extension" at a time is just fine IMHO.
When it comes to "mask after checks", I could not find a way how to do this either. There is, however, "mask before checks" possible to do so that is sufficient.
I have added tests to various combinations to PR.
> Add constraints support to be used with MASKED statements
> ---------------------------------------------------------
>
> Key: CASSANDRA-20268
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20268
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Feature/Constraints
> Reporter: Bernardo Botella Corbi
> Priority: Normal
>
> Currently, constraints CHECK keyword and MASKED keyword can't go together. We need to find a way of supporting both at the same time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org