Loading...
This page describes the SWAPCASE function in Lenses SQL.
SWAPCASE(expr)
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" } }
✓