Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not render metrics description field when doing render_data #5603

Merged
merged 3 commits into from Aug 5, 2022

Conversation

gshank
Copy link
Contributor

@gshank gshank commented Aug 2, 2022

resolves #5585

Description

The addition of a line of code to skip rendering the metrics "sql" attribute caused the "description" attribute to be rendered at the wrong time with the wrong context.

Note: still needs tests.

Checklist

@gshank gshank requested a review from a team as a code owner August 2, 2022 19:57
@gshank gshank requested a review from emmyoop August 2, 2022 19:57
@cla-bot cla-bot bot added the cla:yes label Aug 2, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2022

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

@gshank gshank requested a review from a team as a code owner August 3, 2022 18:55
@jtcohen6 jtcohen6 added the backport 1.2.latest This PR will be backported to the 1.2.latest branch label Aug 3, 2022
Copy link
Contributor

@iknox-fa iknox-fa left a comment

Choose a reason for hiding this comment

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

LGTM. Easy breezy.

Copy link
Member

@emmyoop emmyoop left a comment

Choose a reason for hiding this comment

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

LGTM

@gshank gshank merged commit eb72dbf into main Aug 5, 2022
@gshank gshank deleted the ct-968-skip_metrics_description_render_data branch August 5, 2022 13:19
@gshank gshank added backport 1.2.latest This PR will be backported to the 1.2.latest branch and removed backport 1.2.latest This PR will be backported to the 1.2.latest branch labels Aug 5, 2022
github-actions bot pushed a commit that referenced this pull request Aug 5, 2022
SOVALINUX pushed a commit to SOVALINUX/dbt-core that referenced this pull request Aug 12, 2022
…abs#5603) (dbt-labs#5619)

(cherry picked from commit eb72dbf)

Co-authored-by: Gerda Shank <gerda@dbtlabs.com>
agoblet pushed a commit to BigDataRepublic/dbt-core that referenced this pull request Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.2.latest This PR will be backported to the 1.2.latest branch cla:yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-963] [Regression] Docs blocks in metric descriptions
5 participants