We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb7a0fa commit efcd756Copy full SHA for efcd756
1 file changed
src/ol_dbt/models/dimensional/tfact_certificate.sql
@@ -271,7 +271,7 @@ with mitxonline_certificates as (
271
on w.watermark_platform = cwf.platform
272
and w.watermark_certificate_type = cwf.certificate_scope
273
where (
274
- w.max_created_on is null -- platform/type not yet in target, include all
+ w.max_activity_on is null -- platform/type not yet in target, include all
275
or coalesce(cwf.certificate_updated_on, cwf.certificate_created_on) >= w.max_activity_on
276
or cwf.certificate_created_on is null
277
)
0 commit comments