For the complete documentation index, see llms.txt. This page is also available as Markdown.

POW

This page describes the POW function in Lenses SQL.

POW(numExpr1, numExpr2)

Returns numExp1 raised to the numExp2 power.

Available in:

Processors
SQL Studio

Sample code:

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

Output:

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

Last updated

Was this helpful?