RANDINT

This page describes the RANDINT function in Lenses SQL.

RANDINT()

Returns a random integer.

Available in:

ProcessorsSQL Studio

Sample code:

USE `kafka`;
SELECT RANDINT() 
FROM numbers-data
LIMIT 1;

Output:

{
  "value": {
    "RANDINT": 395069592
  }
}

Last updated

Logo

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