Loading...
This page describes the LAST2 function in Lenses SQL.
LAST2(strExpr)
Anonymize the value and only keep the last two characters.
Available in:
Sample code:
USE `kafka`; SELECT LAST2(first_name) AS first_name_hidden, first_name FROM users-events LIMIT 1;
Output:
{ "value": { "first_name_hidden": "*****es", "first_name": "Charles" } }
✓