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

INITIALS

This page describes the INITALS function in Lenses SQL.

INITIALS(strExpr)

Anonymize the value and only keep the initials of all the words in the input.

Available in:

Processors
SQL Studio

Sample code:

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

Output:

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

Last updated

Was this helpful?