[SPARK-3814][SQL] Bitwise & does not work in Hive

Currently there is no support of Bitwise & in Spark HiveQl and Spark SQL as well. So this PR support the same.
I am closing https://github.com/apache/spark/pull/2710 as it has conflicts to merge

Author : ravipesala ravindra.pesala@huawei.com