Skip to main content

METRIC_ENGINE_INDEX_TYPE_OPTION

Constant METRIC_ENGINE_INDEX_TYPE_OPTION 

Source
pub const METRIC_ENGINE_INDEX_TYPE_OPTION: &str = "index.type";
Expand description

Option key for metric engine index type. Used to identify the primary key index type of the metric engine.

CREATE TABLE table_name (
    ...
)
ENGINE = metric
WITH (
    physical_metric_table = "",
    index.type = "inverted",
    index.inverted_index.segment_row_count = "256",
);