Altinity / clickhouse-operator

Altinity Kubernetes Operator for ClickHouse creates, configures and manages ClickHouse® clusters running on Kubernetes
https://altinity.com
Apache License 2.0
1.94k stars 467 forks source link

Creating dictionaries via configuration isn't working #1526

Closed amerello closed 1 month ago

amerello commented 1 month ago

The example available here: https://github.com/Altinity/clickhouse-operator/blob/master/docs/chi-examples/05-settings-02-dictionary.yaml

Or the description here: https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#specconfigurationfiles

Doesn't seem to be working. I get no dictionaries. In the logs I also see no attempt to create the dictionaries. Could something have changed in the Clickhouse Server which broke this feature?

Or am I doing something wrong? This is what I see:

chi-settings-02-standard-0-0-0.chi-settings-02-standard-0-0.clickhouse.svc.cluster.local :) show dictionaries;

SHOW DICTIONARIES

Query id: 0f3412ed-b11a-47e7-bc48-5de70db4e331

Ok.

0 rows in set. Elapsed: 0.004 sec. 

I appreciate any support

amerello commented 1 month ago

rookie mistake, I was using the dictionary wrong. Apologies