clickhouse通过mysql建表
通过此方式可直接创建和mysql表一致的表
CREATE TABLE article_clientuser_sum
ENGINE = MergeTree
ORDER BY id AS
SELECT *
FROM mysql(‘host:port‘, ‘db‘, ‘article_clientuser_sum‘, ‘user‘, ‘password‘)
2021-12-11 10:01:47
通过此方式可直接创建和mysql表一致的表
CREATE TABLE article_clientuser_sum
ENGINE = MergeTree
ORDER BY id AS
SELECT *
FROM mysql(‘host:port‘, ‘db‘, ‘article_clientuser_sum‘, ‘user‘, ‘password‘)