crc32 function (Databricks SQL)

Returns a cyclic redundancy check value of expr.

Syntax

crc32(expr)

Arguments

  • expr: A BINARY expression.

Returns

A BIGINT.

Examples

> SELECT crc32('Spark');
 1557323817