Trino Functions
Setdigest Functions
hash_counts
Returns a map containing the Murmur3Hash128 hashed values and the count of their occurences within the internal MinHash structure belonging to x.
Supported Signatures
intersection_cardinality
Returns the estimation for the cardinality of the intersection of the two set digests.
Supported Signatures
jaccard_index
Returns the estimation of Jaccard index for the two set digests.
Supported Signatures
make_set_digest
Composes all input values of x into a setdigest.
Supported Signatures
merge_set_digest
Returns the setdigest of the aggregate union of the individual setdigest Set Digest structures.
Supported Signatures