Apache Tajo - mod(n,m)



Let us now check the mod(n,m) function with the following query.

Query

default> select mod(2,4) as mod_value; 

Result

The above query will generate the following result.

 mod_value 
----------- 
    2 

Here (2,4) modulus result is 2.

apache_tajo_math_functions.htm
Advertisements