You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Reynold Xin <rx...@databricks.com> on 2016/11/29 05:42:32 UTC
Re: Bit-wise AND operation between integers
Bcc dev@ and add user@
The dev list is not meant for users to ask questions on how to use Spark.
For that you should use StackOverflow or the user@ list.
scala> sql("select 1 & 2").show()
+-------+
|(1 & 2)|
+-------+
| 0|
+-------+
scala> sql("select 1 & 3").show()
+-------+
|(1 & 3)|
+-------+
| 1|
+-------+
On November 28, 2016 at 9:40:45 PM, Nishadi Kirielle (ndimeshi@gmail.com)
wrote:
Hi all,
I am trying to use bitwise AND operation between integers on top of Spark
SQL. Is this functionality supported and if so, can I have any
documentation on how to use bitwise AND operation?
Thanks & regards
--
Nishadi Kirielle
Undergraduate
University of Moratuwa - Sri Lanka
Mobile : +94 70 204 5934
Blog : nishadikirielle.wordpress.com