in

Description

Returns true if the expression matches with any value in the given set.

Return type

bool

Domain

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

Categories

Usage

in( expression, choice ... )

Argument

Type

Required

Multiple

Constant

expression

variant

Required

Only one

Variable

choice

variant

Required

Can be multiple

Variable

Examples

filter in(OBSERVATION_KIND, 'http', 'system', 'grpc')

Returns true where OBSERVATION_KIND is either ‘http’, ‘system’ or ‘grpc’