mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
10 lines
269 B
SQL
10 lines
269 B
SQL
-- https://github.com/ClickHouse/ClickHouse/issues/49472
|
|
SET allow_experimental_analyzer=1;
|
|
SELECT
|
|
concat(database, table) AS name,
|
|
count()
|
|
FROM clusterAllReplicas(test_shard_localhost, system.tables)
|
|
WHERE database=currentDatabase()
|
|
GROUP BY name
|
|
FORMAT Null;
|