当前位置:网站首页>【ClickHouse】How to create index for Map Type Column or one key of it?
【ClickHouse】How to create index for Map Type Column or one key of it?
2022-07-02 04:38:00 【Donghai Chen Guangjian】
How to create index for Map Type Column or one key of it?
[version 21.8.10 revision 54449] #31801
You can create index for map keys, or for map values. Example:
CREATE TABLE test_table
(
id UInt64,
value Map(Int64, String),
index value_key_index mapKeys(value) TYPE bloom_filter GRANULARITY 4
) ENGINE=MergeTree ORDER BY id;
Link to documentation https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#available-types-of-indices.
Reference resources :https://github.com/ClickHouse/ClickHouse/issues/31801
边栏推荐
- Cannot activate CONDA virtual environment in vscode
- Spring moves are coming. Watch the gods fight
- Pit encountered in win11 pytorch GPU installation
- cookie、session、tooken
- 6月书讯 | 9本新书上市,阵容强大,闭眼入!
- Free drawing software recommended - draw io
- Shenzhen will speed up the cultivation of ecology to build a global "Hongmeng Oula city", with a maximum subsidy of 10million yuan for excellent projects
- 66.qt quick QML Custom Calendar component (supports vertical and horizontal screens)
- Unity particle Foundation
- Idea autoguide package and autodelete package Settings
猜你喜欢
Federal learning: dividing non IID samples according to Dirichlet distribution
win10 磁盘管理 压缩卷 无法启动问题
记录一次Unity 2020.3.31f1的bug
Deeply understand the concepts of synchronization and asynchrony, blocking and non blocking, parallel and serial
Let正版短信测压开源源码
10 minutes to understand CMS garbage collector in JVM
CY7C68013A之keil编译代码
Yolov5 network modification tutorial (modify the backbone to efficientnet, mobilenet3, regnet, etc.)
Cannot activate CONDA virtual environment in vscode
Learn what definitelytyped is through the typescript development environment of SAP ui5
随机推荐
Comp 250 parsing
Binary tree problem solving (1)
Okcc why is cloud call center better than traditional call center?
Pytorch-Yolov5从0运行Bug解决:
深圳打造全球“鸿蒙欧拉之城”将加快培育生态,优秀项目最高资助 1000 万元
Federal learning: dividing non IID samples according to Dirichlet distribution
Pytorch yolov5 exécute la résolution de bogues à partir de 0:
How much can a job hopping increase? Today, I saw the ceiling of job hopping.
Idea automatic package import and automatic package deletion settings
初学爬虫-笔趣阁爬虫
Exposure X8 Standard Version picture post filter PS, LR and other software plug-ins
What are the rules and trading hours of agricultural futures contracts? How much is the handling fee deposit?
Let正版短信测压开源源码
Pytoch --- use pytoch to predict birds
Interview question: do you know the difference between deep copy and shallow copy? What is a reference copy?
Idea autoguide package and autodelete package Settings
Let genuine SMS pressure measurement open source code
汇编语言中的标志位:CF、PF、AF、ZF、SF、TF、IF、DF、OF
Cannot activate CONDA virtual environment in vscode
Alibaba cloud polkit pkexec local rights lifting vulnerability