Apache Tajo - to_hex(x)



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

Query

default> select to_hex(11) as hex_conversion;

Result

The above query will generate the following result.

hex_conversion 
------------------------------- 
b 

The query returns the hexadecimal value for the integer 11 and the value is b. Similarly, you can try other values.

apache_tajo_math_functions.htm
Advertisements