ClickHouse/ClickHouse

Default cluster for distributed DDL

开放

#8,676 创建于 2020年1月15日

 (6 条评论) (0 个反应) (0 位负责人)C++ (8,400 个派生)batch import
easy taskfeaturehelp wanted

仓库指标

星标
 (47,419 个星标)
PR 合并指标
 (平均合并 2天 2小时) (30 天内合并 1,000 个 PR)

描述

Allow to use default cluster for distributed DDL if it was specified in config.

For example, if in config we have

    <default_cluster>cluster_name</default_cluster>

then query

CREATE TABLE table ON DEFAULT CLUSTER (x UInt32) engine = Memory

will be equivalent to

CREATE TABLE table ON CLUSTER cluster_name (x UInt32) engine = Memory

贡献者指南