Hi @guangyi ,
Yeah, bit weird error. In your case, the error message you’re seeing suggests that there is an issue with querying the event logs because Delta Live Tables (DLT) only allows one instance of the event_log to be read in a single query.
Could you try to remove below part from your pipeline? Just for a test:
CREATE OR REFRESH MATERIALIZED VIEW event_log_raw_1
AS
(SELECT * FROM event_log_raw LIMIT 1);
Also, make sure your environment aligns with following requirements of event_log TVF:
- To call the event_log, you must use a shared cluster or a SQL warehouse.
- The event_log TVF can be called only by the pipeline owner and view created over the event_log.