Apache-presto-bitwise-not-function

提供:Dev Guides
移動先:案内検索

Apache Presto-bitwise_not(x)

問い合わせ

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

結果

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

ここで、3の値の補数は-4です。