This page describes how to use schema functions in Lenses SQL Processors.
TYPEOF
This page describes the TYPEOF function in Lenses SQL.
TYPEOF()
Returns the object type of a complex expression. This can only be used when the format on the wire includes the details of the object's full name.
Available in:
Processors
SQL Studio
✓
DUMP
This page describes the DUMP function in Lenses SQL.
DUMP(expr)
Show the internal representation of a value.
Available in:
Processors
SQL Studio
✓
✓
Sample code:
USE `kafka`;
SELECT
DUMP(id) AS dump_id,
DUMP(users_id) AS dump_users_id,
DUMP(created_at) AS dump_created_at,
DUMP(modified_at) AS dump_modified_at,
DUMP(email) AS dump_email,
DUMP(first_name) AS dump_first_name,
DUMP(last_name) aAS s dump_last_name
FROM users-events
WHERE modified_at IS NULL
LIMIT 1;