CREATE TABLE YF_YPMXZ0
(
MXZLSH
DECIMAL(18, 4) NULL COMMENT 'MXZLSH',
YFBMBH
DECIMAL(18, 4) NULL COMMENT 'YFBMBH',
YPRKPC
DECIMAL(18, 4) NULL COMMENT 'YPRKPC',
YPCKPC
DECIMAL(18, 4) NULL COMMENT 'YPCKPC',
INDEX idx_YPCKPC (YPCKPC
) USING INVERTED COMMENT ''
) ENGINE=OLAP
UNIQUE KEY(MXZLSH
)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(MXZLSH
) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.default: 2",
"is_being_synced" = "false",
"storage_format" = "V2",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false"
);
doris版本2.0.9的union模型默认应该是mor的,我在建表的时候没有指定"enable_unique_key_merge_on_write" = "true"但是发现profile中RowsInvertedIndexFiltered依然显示有数据,但是官网上说union中只有mow支持倒排索引,当前索引是否生效?