POW

This page describes the POW function in Lenses SQL.

POW(numExpr1, numExpr2)

Returns numExp1 raised to the numExp2 power.

Available in:

ProcessorsSQL Studio

Sample code:

USE `kafka`;
SELECT 
    POW(integer,2), 
    integer 
FROM numbers-data
LIMIT 1;

Output:

{
  "value": {
    "POW": 2147483647,
    "integer": 16550
  }
}

Last updated

Logo

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