hash

Description

Accepts a variable number of arguments of arbitrary types and returns a signed 64-bit hash. Never returns null. Not a cryptographic hash function and should not be used as such.

Return type

numeric

Domain

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

Categories

Usage

hash( args ... )

Argument

Type

Required

Multiple

args

any

Required

Can be multiple

Examples

make_col h:hash(@.x, @.y)

Create a column ‘h’ with the result of hashing the columns ‘x’ and ‘y’