ClickHouse/tests/queries/0_stateless/02000_table_function_cluster_macros.sql

3 lines
153 B
MySQL
Raw Normal View History

SELECT _shard_num FROM cluster("{default_cluster_macro}", system.one);
SELECT _shard_num FROM clusterAllReplicas("{default_cluster_macro}", system.one);