Apache Tajo - ceil(x)



Let us now check the ceil(x) function with the following query.

Query

default> select ceil(4.7) as ceiling; 

Result

The above query will generate the following result.

 ceiling 
--------- 
    5 

Ceil of 4.7 is 5 which is rounded to the next integer. The Ceiling() function also returns the same result. This function acts as an alias for ceil().

apache_tajo_math_functions.htm
Advertisements