Skip to content

dbt-materialize: fix the missing deployment timestamp in deploy_promote schema tags - #38064

Draft
bobbyiliev wants to merge 1 commit into
MaterializeInc:mainfrom
bobbyiliev:dbt-deploy-promote-timestamp
Draft

dbt-materialize: fix the missing deployment timestamp in deploy_promote schema tags#38064
bobbyiliev wants to merge 1 commit into
MaterializeInc:mainfrom
bobbyiliev:dbt-deploy-promote-timestamp

Conversation

@bobbyiliev

Copy link
Copy Markdown
Contributor

The comment that deploy_promote puts on each promoted schema was reading the second row of the first column of a one row result, which Jinja turns into an empty value, so every tag ended with "on " and no timestamp. It now reads the second column of the first row.

Test plan: the existing deploy test asserted only that the word "on" was present, which matched the template text itself, so it now matches the user and timestamp with a regex.

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.

1 participant