mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-08 23:42:02 +00:00
5 lines
282 B
SQL
5 lines
282 B
SQL
SELECT _shard_num FROM cluster("{default_cluster_macro}", system.one);
|
|
SELECT _shard_num FROM cluster("{default_cluster_macro}");
|
|
SELECT _shard_num FROM clusterAllReplicas("{default_cluster_macro}", system.one);
|
|
SELECT _shard_num FROM clusterAllReplicas("{default_cluster_macro}");
|