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.