Skip to content

fix: correct condition in tfact_certificate to use max_activity_on#2210

Merged
rachellougee merged 1 commit into
mainfrom
fix-tfact-certificate
May 8, 2026
Merged

fix: correct condition in tfact_certificate to use max_activity_on#2210
rachellougee merged 1 commit into
mainfrom
fix-tfact-certificate

Conversation

@rachellougee
Copy link
Copy Markdown
Contributor

What are the relevant tickets?

https://pipelines.odl.mit.edu/runs/05a8f4e8-33b5-4977-a9b1-41bc5057038d

Description (What does it do?)

fixes the dbt error

  TrinoUserError(type=USER_ERROR, name=COLUMN_NOT_FOUND, message="line 282:9: Column 'w.max_created_on' cannot be resolved", 

How can this be tested?

dbt build --select tfact_certificate

Additional Context

Copilot AI review requested due to automatic review settings May 8, 2026 11:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an incremental build failure in the tfact_certificate dbt model by correcting the incremental watermark column reference to match the incremental_watermarks CTE, resolving a Trino COLUMN_NOT_FOUND error.

Changes:

  • Replace the incorrect w.max_created_on reference with w.max_activity_on in the incremental filter for tfact_certificate.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rachellougee rachellougee merged commit efcd756 into main May 8, 2026
9 checks passed
@rachellougee rachellougee deleted the fix-tfact-certificate branch May 8, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants