Skip to main content
Preview BigQuery conditional expressions, conversion, hash, and bit functions in BigQuery compatibility mode.

Conditional expressions

BigQuery reference: Conditional expressions.

Conversion functions

BigQuery reference: Conversion functions.

Type-name conversion functions

The single-argument type functions cast their argument to the matching type.

The SAFE. prefix

SAFE.function(...) is accepted and calls the underlying function. Like SAFE_CAST, the null-on-error behavior is not reproduced.

Hash functions

BigQuery reference: Hash functions.

Bit functions

BigQuery reference: Bit functions.