REVERSE

This page describes the REVERSE function in Lenses SQL.

REVERSE(expr)

Reverses the order of the elements in the input.

Available in:

ProcessorsSQL Studio

Sample code:

USE `kafka`;
SELECT 
    REVERSE(status), 
    status 
FROM users-topic
LIMIT 1;

Output:

{
  "value": {
    "REVERSE": "deifirevnu",
    "status": "unverified"
  }
}

Last updated

Logo

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