Skip to main content

XXHASH32

Calculates an xxHash32 32-bit hash value for a string. The value is returned as a UInt32 or NULL if the argument was NULL.

Syntax

XXHASH32(expr)

Examples

SELECT XXHASH32('1234567890');

┌────────────────────────┐
│ xxhash32('1234567890')
├────────────────────────┤
3896585587
└────────────────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today