Description
Add four new SQL functions operating on the `BINARY` data type for performing bitwise operations: BITAND, BITOR, BITXOR, and BITNOT.
The BITAND, BITOR, and BITXOR functions take two byte strings as input and return the bitwise AND, OR, or XOR of the two input byte strings. The byte size of the result is the maximum of the byte sizes of the inputs, while the result is computed by aligning the two strings with respect to their least significant byte, and left-padding with zeros the shorter of the two inputs.
The BITNOT function is a unary function and returns the input byte string with all the bits negated.