set_col_enum

Aliases: colenum (deprecated).

set_col_enum [col: expression]+

Mark specified columns as enumerations, or not, so that the user interface can present them appropriately.

Arguments are colname:bool where the bool value must be known at compile time. Columns that are enumerations are treated differently in GUI and visualization, such as using top-k summaries instead of histograms or sparklines.

Categories

Accelerable

set_col_enum 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_col_enum cluster_uid:false, cluster_index:false, cluster_name: true

Marks the columns cluster_uid and cluster_index as scalar values, and marks the column cluster_name as an enumeration value.