ClickHouse/tests/queries/0_stateless/03034_normalized_ast.sql
2024-08-05 15:29:14 +00:00

10 lines
257 B
SQL

-- https://github.com/ClickHouse/ClickHouse/issues/49472
SET enable_analyzer=1;
SELECT
concat(database, table) AS name,
count()
FROM clusterAllReplicas(test_shard_localhost, system.tables)
WHERE database=currentDatabase()
GROUP BY name
FORMAT Null;