Bit and bit strings in Spark dataframes

I noticed that Spark SQL data frames have methods for bitwise AND, OR, XOR. These operations seem to me very useful if you use a bit string. However, so far I have not found the possibility of having a BitSet column (I think I could create an integer column, but that would be limited to 32 bits).

How could I create a (β€œlong”, that is, over 64 bit) BitSet that can be used with bitwise operations given by a file frame?

+4
source share

Source: https://habr.com/ru/post/1606271/


All Articles