in

Description

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

Return type

any

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

expression

any

Required

Only one

choice

any

Required

Can be multiple

Examples

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

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