David Dobrinskiy
07/18/2025, 12:25 PMtarget-clickhouse
?
I'm having some difficulties in setting mine up, e.g. I want new tables to be deduplicated on id
with sorting by a non-nullable updated_at
.
But the target-clickhouse module always casts dates as Nullable: https://github.com/shaped-ai/target-clickhouse/blob/a04758cff46b429bab6615a15d662e25c5a96db9/target_clickhouse/connectors.py#L120
Since this is my first meltano ETL pipeline, I'm getting confused between layers of abstraction here and how to properly configure my target clickhouse tables.Edgar Ramírez (Arch.dev)
07/18/2025, 4:09 PMI want new tables to be deduplicated onI presume those are fields in your source tap?with sorting by a non-nullableid
.updated_at
David Dobrinskiy
07/18/2025, 4:13 PMtarget-clickhouse
create the tables with default engine and nullable types, and then manually "force" id
and updated_at
columns as non-nullable, and a new engine directly via running this SQL: