ANONYMIZE

This page describes the ANONYMIZE function in Lenses SQL.

ANONYMIZE(strExpr)

Obfuscates the entire string input.

Available in:

Processors
SQL Studio

Sample code:

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

Output:

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

Last updated

Logo

2024 © Lenses.io Ltd. Apache, Apache Kafka, Kafka and associated open source project names are trademarks of the Apache Software Foundation.