int64_null

Description

Returns a null value of type int64.

This is important because some functions, like case(), return more convenient outputs if all their arguments are of the same type.

Return type

int64

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

int64_null()

Examples

make_col positive_or_null:case(x > 0, x, true, int64_null())

Create a column ‘positive_or_null’ which is either a positive int64, or the null int64.