Open RoVys opened 3 months ago
CREATE MATERIALIZED VIEW marketing_raw_data.test_mw ON CLUSTER 'cl'
TO marketing_raw_data.owoxbi_sessions
....
FROM marketing_raw_data.test ---<<<< test ?
CREATE MATERIALIZED VIEW marketing_raw_data.test_mw ON CLUSTER 'cl' TO marketing_raw_data.owoxbi_sessions .... FROM marketing_raw_data.test ---<<<< test ?
Sorry, wrong script. I tried with correct name. It doesnt work. So it`s actually FROM marketing_raw_data.owoxbisessions
Check that MatView exists at the server where you execute the insert INSERT INTO marketing_raw_data.owoxbi_sessions_
.
I suggest to observe the trace of the insert in /var/log/clickhouse-server/clickhouse-server.log
Hello.
I have an issue with using materialized view. I have a table owoxbisessions. Occasionally I insert data into the table from s3 object storage using a query like this:
A DDL query of owoxbisessions is kinda complicated, I put here only a part of it:
Full source table DDL: ddl_source_table_for_ticket.txt
My materialized view DDL query(also complicated): mv_for_ticket.txt
I tested the MV query. it works and inserts data into the destination table perfectly.
Destination table DDL: ddl_dst_table_for_ticket.txt
What
s the possible reason of the insert trigger doesn
t work?