-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
报错sql
SELECT table, uniqExact(partition) AS partitions, count(*) AS parts, sum(data_compressed_bytes) AS compressed, sum(data_uncompressed_bytes) AS uncompressed, sum(rows) AS rows, database FROM cluster('{cluster}', system.parts) WHERE (database in ('data_test')) AND (active = '1') GROUP BY table, database;
DB::Exception: No macro 'cluster' in config while processing substitutions in '{cluster}' at '1' or macro is not supported here. (NO_ELEMENTS_IN_CONFIG)
ck里面是不是这样查询集群名 我的ck 版本时 ClickHouse版本: 23.12.3.40
Metadata
Metadata
Assignees
Labels
No labels