crc32 function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns a cyclic redundancy check value of expr.

Syntax

crc32(expr)

Arguments

  • expr: A BINARY expression.

Returns

A BIGINT.

Examples

> SELECT crc32('Spark');
 1557323817