Add Bitwise and function

Hi Guys,

I would like to create some bitwise and function to use for transformed fields.
I have a flag field that I would like to use for several fields with different logical conditions.
e.g:

“transformSpec”: {

“transforms”: [

{

“type”: “expression”,
“name”: “install”,
“expression”: “if(flag & 2048>0,1,0)”
},
{
“type”: “expression”,
“name”: “install”,
“expression”: “if(flag & 2 >0,1,0)”
}…

Would highly appreciate your help here.

Thanks!

https://github.com/apache/druid/pull/10084 seemed to be included in next release.

I saw that it gonna be part of the new release, nevertheless I need to use it now…