Bit And Operation in Decimal Column in Impala

Consider in impala, I have a decimal column, is there a way to convert to binary using bin function

I can see clearly that bin is accepting only big int argument not the decimal

So, if there is a number like 122642280288770432172031 which is crossing the big int limit in impala, how do I convert it to binary form and use a bit and( operation on it?

Also, let us know if there is a possibility in Hive if not for impala