Apache Presto - bitwise_not(x)


Query

presto:default> select bitwise_not(3) as bit_not; 

Result

 bit_not 
--------- 
   -4

Here, the complement of 3 value is -4.

apache_presto_sql_functions.htm
Advertisements