From c1c752dc70ca4f35bc4b9099c42b5d9cd7bafec7 Mon Sep 17 00:00:00 2001 From: Sara Burns Date: Wed, 11 Sep 2024 11:42:57 -0400 Subject: [PATCH] fix: change schema --- models/video/watched_video_duration.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/video/watched_video_duration.sql b/models/video/watched_video_duration.sql index 244e40e7..68fdc694 100644 --- a/models/video/watched_video_duration.sql +++ b/models/video/watched_video_duration.sql @@ -1,7 +1,7 @@ {{ config( materialized="materialized_view", - schema=env_var("ASPECTS_EVENT_SINK_DATABASE", "event_sink"), + schema=env_var("ASPECTS_XAPI_DATABASE", "xapi"), engine=get_engine("ReplacingMergeTree()"), order_by="(org,course_key,actor_id,video_id)", post_hook="OPTIMIZE TABLE {{ this }} {{ on_cluster() }} FINAL",