Faced parsing error when running on cluster query.
The query that I m running:
CREATE TABLE default.default_table_clnnusteddd ON CLUSTER '{cluster}' (
createdAt Date,
updatedAt Date
)
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{cluster}/{shard}/{table}', '{replica}')
ORDER BY tuple();
The code throwing error:
const r = await clickhouse.query(query).toPromise();
The error I m getting:
My code works perfectly in single node clickhouse.
Hi All.
Faced parsing error when running on cluster query.
The query that I m running:
The code throwing error:
The error I m getting:
My code works perfectly in single node clickhouse.
Any quick help on this ? Thank you.