Skip to content

Commit 3a73907

Browse files
committed
fix: update timestamp type in enrollment_by_day
We're no longer using such high-precision timestamps for emission_time in the MVs. This should be the last issue related to the timestamp change.
1 parent a38c057 commit 3a73907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutoraspects/templates/openedx-assets/queries/fact_enrollments_by_day.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ with enrollments as (
2121
enrollment_status,
2222
enrollment_mode,
2323
emission_time as window_start_at,
24-
lagInFrame(emission_time, 1, now64(6)) over (partition by org, course_name, run_name, actor_id order by emission_time desc) as window_end_at
24+
lagInFrame(emission_time, 1, now()) over (partition by org, course_name, run_name, actor_id order by emission_time desc) as window_end_at
2525
from
2626
enrollments_ranked
2727
where

0 commit comments

Comments
 (0)