Cast all integer columns in a DataFrame to long.
Cast all integer columns in a DataFrame to long.
a DataFrame with all integer values cast to long
Normalises the DataFrame by lifting numeric fields to Long and similar ops.
Adds a new column hashColumn containing the hash value of the given input columns.
Adds a new column hashColumn containing the hash value of the given input columns.
The hash is generated using org.apache.spark.sql.catalyst.expressions.Murmur3Hash based on the given column sequence. To decrease collision probability, we:
1) generate a first hash for the given column sequence 2) shift the hash into the upper bits of a 64 bit long 3) generate a second hash using the reversed input column sequence 4) store the hash in the lower 32 bits of the final id
input columns for the hash function
column storing the result of the hash function
DataFrame with an additional column that contains the hash ID
Adds a new column serializedColumn containing the serialized values of the given input columns.
Adds a new column serializedColumn containing the serialized values of the given input columns.
input columns for the serialization function
column storing the result of the serialization function
DataFrame with an additional column that contains the serialized ID