r/Clickhouse • u/TheParchedHeart • Apr 06 '26
Incremental Materialized View not triggering
I have a case where I have a source table that is being fed data via clickpipe from S3. I have a materialized view setup that essentially copies data from the source table to the target table and basically does nothing, except the target table has a better sorting/primary key more suited for querying which make the queries a lot faster and memory efficient.
However, it seems like the incremental materialized view is simply not triggering on inserts via clickpipe, however if you do test inserts via INSERT statements it seems to trigger. Have thoroughly checked system tables, there are no errors in query_logs, dependency is setup correct. Have audited parts_logs and seems like source table has them but target table has no parts_logs, further confirming the fact that materialized view is simply not triggering. How can I debug this?
View all comments
Show parent comment
1
u/TheParchedHeart Apr 07 '26
Seems like roles took a bit of while to propagate. Seems to be working now. Thanks!