Apache-presto-bitwise-and-function

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

Apache Presto-bitwise_and(x、y)

問い合わせ

presto:default> select bitwise_and(2,3) as bit_and;

結果

 bit_and
---------
    2

上記および2ビット2(010)と3(011)の間で実行されます。 したがって、結果は2です。