Getting odd errors from Clickhouse destination liv...
# support
h
Getting odd errors from Clickhouse destination live events - the table mentioned does exist (although I have dropped and recreated it as a ReplicatedReplacingMergeTree engine)
g
@quick-judge-58386 can you take a look?
q
Sure
h
So what I am attempting to do is because of the lack of cluster/replicate support in Rudder is to either replace the tables you create or create them upfront in the hope you will check if they exist and just insert data into them
What I dont understand is the error message as the table name does exist
Can I also suggest you use LowCardinality for any table string column you create which will have less than a few thousand distinct values such as tracks.context_library_name, tracks.event etc etc
q
@hundreds-lifeguard-65770 it looks kind of weird that table is exported and it’s showing error. Were you able to replicate the issue. i will try to replicate this at my end
Thanks for the suggestions, this will really help. I will add this in my todo’s
h
I have not tried it again no - the odd thing is the message as it has the same table name in the error and also the successful props
How often do you interrogate the db for the table/schema
q
Before every upload we fetch schema from the clickhouse and merge clickhouse schema and upload schema
h
So if the table exists (even though I change the engine to replicated) you will not drop and re-create?
q
no we dont drop the table and recreate it. When we are creating a table we use replacingMergeTree engine
h
yup - I need this to be replicating - running a single node is danger"