Skip to main content
Scalar function
NULL input returns NULL. Strings are checked as UTF-8 bytes.

Syntax

Bytes (scalar)

Arguments

Returns

  • Type: BIGINT
  • Possible values: 0 through 4294967295, representing an unsigned 32-bit checksum.
  • NULL behavior: NULL input returns NULL. Strings are checked as UTF-8 bytes.

Properties

Usage notes

  • STRING values are converted to UTF-8 bytes. BINARY values are checked as their raw bytes.

Examples

Basic checksum

Empty input and NULL

Binary input

Last modified on October 15, 2026