Apache Presto - bitwise_and(x,y)
查询
presto:default> select bitwise_and(2,3) as bit_and;
bit_and
---------
2
上述操作在两个位 2(010) 和 3(011) 之间执行。 因此,结果是 2。
apache_presto_sql_functions.html
presto:default> select bitwise_and(2,3) as bit_and;
bit_and
---------
2
上述操作在两个位 2(010) 和 3(011) 之间执行。 因此,结果是 2。
apache_presto_sql_functions.html
