[ 
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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to