daft.Expression.hash

daft.Expression.hash#

Expression.hash(seed: Optional[Any] = None) Expression[source]#

Hashes the values in the Expression.

Uses the XXH3_64bits non-cryptographic hash function to hash the values in the expression.

Note

Null values will produce a hash value instead of being propagated as null.

Parameters:

seed (optional) – Seed used for generating the hash. Defaults to 0.