Apache Tajo - to_bin(x)



现在让我们使用以下查询检查 to_bin(x) 函数。

查询

default> select to_bin(8) as binary_conversion;

结果

上述查询将生成以下结果。

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

该查询使用 to_bin() 转换函数,返回给定输入值 8 的二进制值“1000”。

apache_tajo_math_functions.htm
广告
© . All rights reserved.