安装
docker安装clickhouse:
https://hub.docker.com/r/clickhouse/clickhouse-server
创建库
create database if not exists test ;
创建表
create table test.user_tag1(
id Int64 ,
user String,
bit AggregateFunction(groupBitmap, UInt32),
create_date date
)
ENGINE = MergeTree(create_date, (id), 8000)
数据操作
--插入
insert into user_tag1 select toUInt64(2),100,bitmapBuild([toUInt32(1
Docker中ClickHouse的安装与Bitmap测试

本文介绍了如何在Docker上安装ClickHouse,包括详细步骤,从创建库、建立表,到执行数据操作和进行数据测试,全面展示了ClickHouse在docker环境中的使用流程。
最低0.47元/天 解锁文章
7069

被折叠的 条评论
为什么被折叠?



