SWAPCASE
This page describes the SWAPCASE function in Lenses SQL.
Swaps the case of a string expression.
Available in:
Sample code:
USE `kafka`;
SELECT
SWAPCASE(first_name),
first_name
FROM users-topic
LIMIT 1;
Output:
{
"value": {
"SWAPCASE": "jOSE",
"first_name": "Jose"
}
}