Apache Presto - bitwise_or(x,y)



Query

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

Result

 bit_or 
-------- 
   3 

Here, the bits 2(010) and 3(011) OR operation result is 3.

apache_presto_sql_functions.htm
Advertisements