Apache-presto-bitwise-xor-function

提供:Dev Guides
2020年6月22日 (月) 22:41時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

Apache Presto-bitwise_xor(x、y)

問い合わせ

presto:default> select bitwise_xor(2,3) as bit_xor;

結果

 bit_xor
---------
   1

ここでは、ビット2と3のXOR演算は1です。