Apache Pinot Docs
Search…
latest
MOD
This section contains reference documentation for the MOD function.
Modulo of two values

Signature

MOD(col1, col2)

Usage Examples

1
select MOD(12, 5) AS value
2
from ignoreMe
Copied!
value
2
1
select MOD(12, 2) AS value
2
from ignoreMe
Copied!
value
0
Last modified 1mo ago
Copy link