Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Semantic
-
Normal
-
All
-
None
-
Description
Allow to attach the native masking functions added by CASSANDRA-17941 to table columns, as defined by CEP-20.
CREATE TABLE statements would look like:
> CREATE TABLE patients ( id timeuuid PRIMARY KEY, name text MASKED WITH partial(2, 1), birth date MASKED WITH default() ); > INSERT INTO patients(id, name, birth) VALUES (now(), 'alice', '1982-12-21); > SELECT name, birth FROM patients; name | birth ---------+------------ alXXXXe | 1900-01-01
ALTER TABLE statements would look like:
> ALTER TABLE patients ALTER name MASKED WITH partial(2, 1); > ALTER TABLE patients ALTER name WITHOUT MASK;
It won't be possible to use masked columns in the WHERE and IF clauses of SELECT and UPDATE statements.
Attachments
Issue Links
- blocks
-
CASSANDRA-18069 Add a new UNMASK permission
- Resolved
-
CASSANDRA-18070 Add a new SELECT_MASKED permission
- Resolved
-
CASSANDRA-18071 Allow to use user-defined functions (UDF) as masking functions
- Resolved
- is blocked by
-
CASSANDRA-17941 CQL data masking functions
- Resolved