Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

MASK

This page describes the MASK function in Lenses SQL.

MASK(strExpr)

Alias for ANONYMIZE.

Available in:

Processors
SQL Studio

✓

✓

Sample code:

USE `kafka`;
SELECT 
  MASK(first_name) AS first_name_hidden,
  first_name  
FROM users-events
LIMIT 1;

Output:

{
  "value": {
    "first_name_hidden": "*******",
    "first_name": "Charles"
  }
}

Last updated

Was this helpful?