[ 
https://issues.apache.org/jira/browse/CASSANDRA-17941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638301#comment-17638301
 ] 

Andres de la Peña commented on CASSANDRA-17941:
-----------------------------------------------

I have rebased the PR on top of the changes introduced by CASSANDRA-17811, so 
the proposed functions can be applied to collections, tuples and UDTs:

||PR||CI||
|[trunk|https://github.com/apache/cassandra/pull/1892]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2516/workflows/1d3e9c97-fbfc-48a7-834e-c53a21129f7e]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2516/workflows/506d5055-c146-4716-8ac0-2ac9e97006aa]|

The {{mask_default}} function applied to collections simply returns an empty 
collection. For tuples and UDTs, it returns a tuple or UDT comprised by the 
default masked values of each component.

The {{mask_replace}} function is modified to support replacements of any type, 
included values of a type different to the replaced value.


> CQL data masking functions
> --------------------------
>
>                 Key: CASSANDRA-17941
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17941
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Feature/Dynamic Data Masking
>            Reporter: Andres de la Peña
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 4.x
>
>
> Add native CQL functions to mask the contents of a column, as described in 
> [CEP-20|https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-20%3A+Dynamic+Data+Masking].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to