Calculates the CRC32 checksum of binary data.
Parameters
binary:
large_binary
The input binary value.
Computes HMAC-MD5 authentication code for data using a secret key.
Parameters
binary:
large_binary
The input binary value.
key:
large_binary
The map key to read or update.
Computes HMAC-SHA1 authentication code for data using a secret key.
Parameters
binary:
large_binary
The input binary value.
key:
large_binary
The map key to read or update.
Computes HMAC-SHA256 authentication code for data using a secret key.
Parameters
binary:
large_binary
The input binary value.
key:
large_binary
The map key to read or update.
Computes HMAC-SHA512 authentication code for data using a secret key.
Parameters
binary:
large_binary
The input binary value.
key:
large_binary
The map key to read or update.
Returns the Iceberg bucket id for a value: (murmur3_x86_32(value) & 2147483647) % num_buckets.
Examples
SELECT iceberg_bucket(34, 100);
SELECT iceberg_bucket('iceberg', 100);
Computes the MD5 hash of binary data.
Parameters
binary:
large_binary
The input binary value.
Computes the SHA-1 hash of binary data.
Parameters
binary:
large_binary
The input binary value.
Computes the SHA-256 hash of binary data.
Parameters
binary:
large_binary
The input binary value.
Computes the SHA-512 hash of binary data.
Parameters
binary:
large_binary
The input binary value.
Computes a 32-bit SpookyHash V2 hash of binary data.
Parameters
binary:
large_binary
The input binary value.
Computes a 64-bit SpookyHash V2 hash of binary data.
Parameters
binary:
large_binary
The input binary value.
Computes a 64-bit XXHash of binary data, optionally with a seed.