set_label

Type of operation: Metadata

Description

Declare the ‘label’ of the output to be the designated column. The column must contain strings.

Usage

set_label name

Argument

Type

Optional

Repeatable

Restrictions

name

string

no

no

column

Accelerable

set_label 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

set_label device_name

Sets ‘label’ of the output dataset as the ‘device_name’ column.

Aliases

  • setlabel (deprecated)