You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2022/11/24 13:40:00 UTC
[jira] [Commented] (CASSANDRA-17941) CQL data masking functions
[ 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org