Hello everyone, I am having an issue with data tra...
# replication-troubleshooting
a
Hello everyone, I am having an issue with data transformation on clickhouse with airbyte, can you please help me or you can connect me with someone who can help, Issue:- When airbyte is migrating my data to clickhouse then my materialized view is not executing, ideally it should trigger just after data gets inserted to to the table. Airbyte version:-0.40.21 and logs for support
r
I asked internally at ClickHouse and got the following answer:
Incremental models do a table swap in most cases. Since the insert is into a temporary table (which is eventually swapped/renamed into the original table), the MV insert trigger is not activated.
This is due to how the MVs work in ClickHouse: an insert trigger that operates per block insterted
u
Hello Abhijeet Singh, it's been a while without an update from us. Are you still having problems or did you find a solution?
a
Is it has been solved after update
l
@Abhijeet Singh How did you solve it? I'm having the same problem, Airbyte is using EXCHANGE TABLES and not directly inserting into my table where MaterializedView is targeting.
I have latest versions of Airbyte and ClickHouse, what do you exactly mean by "it is has been solved after update"? Can you elaborate please?
m
Hi @Learie Hercules @Abhijeet Singh I'm facing the same issue while replicating data to clickhouse using airbyte - can you please help me understand if/how this was resolved?
a
Hi, @Manjeet Thadani did you found the issue?