Apache Presto - bitwise_or(x,y)

查询

presto:default> select bitwise_or(2,3) as bit_or; 
 bit_or 
-------- 
   3 

这里,位2(010)和位3(011)或运算结果为3。

apache_presto_sql_functions.html