make_col

Type of operation: Projection

Description

Add one or more new columns from the input dataset to the output dataset. See also: ‘extract_regex’.

Usage

make_col columnbinding_1, columnbinding_2, ...

Argument

Type

Optional

Repeatable

Restrictions

columnbinding

expression

no

yes

none

Accelerable

make_col is always accelerable if the input is accelerable. A dataset that only uses accelerable verbs can be accelerated, making queries on the dataset respond faster.

Examples

make_col message:string(data.payload.message), ok:string(data.payload.ok)

Create the columns ‘message’ and ‘ok’ by coercing various data column object fields to strings.

Aliases

  • colmake (deprecated)