Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query optimization, and usability that you won’t want to miss.

CRC32

Hashes the given string or binary data using the CRC32C (Castagnoli CRC32) algorithm.

Syntax

CRC32(plaintext)

Arguments

  • plaintext: the data to hash.

Return Type

Integer

Examples

SELECT crc32('ohai');
+---------------+
| crc32('ohai') |
+---------------+
|    1335520080 |
+---------------+