CEIL

This page describes the CEIL function in Lenses SQL.

CEIL(numExpr)

Returns the absolute value of an expression.

Available in:

Processors
SQL Studio

Sample code:

USE `kafka`;
SELECT 
    CEIL(float),
    float 
FROM numbers-data
LIMIT 1;

Output:

{
  "value": {
    "CEIL": 96,
    "float": 95.95
  }
}

\

Last updated

Logo

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