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

EMAIL

This page describes the EMAIL function in Lenses SQL.

EMAIL(emailExpr)

Anonymize the value and obfuscate an email address.

Available in:

Processors
SQL Studio

Sample code:

USE `kafka`;
SELECT 
 EMAIL(email) AS email_hidden,
 email 
FROM users-events
LIMIT 1;

Output:

{
  "value": {
    "email_hidden": "B*****@hotmail.com",
    "email": "Brenda.Pierce@hotmail.com"
  }

Last updated

Was this helpful?