mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
3 lines
153 B
MySQL
3 lines
153 B
MySQL
|
SELECT _shard_num FROM cluster("{default_cluster_macro}", system.one);
|
||
|
SELECT _shard_num FROM clusterAllReplicas("{default_cluster_macro}", system.one);
|