MURMURHASH3_32

Overview

Computes a 32-bit hash value for the input using the MurmurHash3 algorithm and returns an INT.

Syntax

MURMURHASH3_32(<expr>)

Parameters

  • <expr>: A primitive data type. Supports strings, integers, floating-point numbers, and more.

Examples

SELECT murmurhash3_32('hello'); -- 613153351 SELECT murmurhash3_32(123); -- 941089142 SELECT murmurhash3_32('world'); -- -74040069