Apache Tajo - to_bin(x)



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

Query

default> select to_bin(8) as binary_conversion;

Result

The above query will generate the following result.

binary_conversion 
------------------------------- 
1000 

The query returns binary value “1000” for the given input value 8 using the to_bin() conversion function.

apache_tajo_math_functions.htm
Advertisements