This page describes the SUM function in Lenses SQL.
SUM(numExpr)
Returns the sum of all the values, in the expression. It can be used with numeric input only. Null values are ignored.
Available in:
✓
Sample code:
USE `kafka`; SELECT SUM(total) FROM orders-events
Output:
{ "value": { "SUM": "163053.270000000000000000" } }