Apache Pinot Docs
latest
Search…
⌃K

MOD

This section contains reference documentation for the MOD function.
Modulo of two values

Signature

MOD(col1, col2)

Usage Examples

select MOD(12, 5) AS value
from ignoreMe
value
2
select MOD(12, 2) AS value
from ignoreMe
value
0
Last modified 1yr ago