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

Fix: avoid double-rendering sql_header in dbt show #8740

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

MichelleArk
Copy link
Contributor

@MichelleArk MichelleArk commented Sep 28, 2023

resolves #8739

Problem

Solution

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
  • This PR includes type annotations for new and modified functions

@MichelleArk MichelleArk requested review from a team as code owners September 28, 2023 17:49
@cla-bot cla-bot bot added the cla:yes label Sep 28, 2023
@@ -50,7 +50,6 @@ def models(self):
}

def test_sql_header(self, project):
run_dbt(["build", "--vars", "timezone: Asia/Kolkata"])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was not necessary

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (0c965c8) 86.62% compared to head (795e2e1) 86.62%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8740   +/-   ##
=======================================
  Coverage   86.62%   86.62%           
=======================================
  Files         176      176           
  Lines       25772    25772           
=======================================
  Hits        22325    22325           
  Misses       3447     3447           
Flag Coverage Δ
integration 83.38% <ø> (ø)
unit 65.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MichelleArk
Copy link
Contributor Author

Updated BQ test: dbt-labs/dbt-bigquery#927

@MichelleArk
Copy link
Contributor Author

Updated redshift test: dbt-labs/dbt-redshift#611

@MichelleArk
Copy link
Contributor Author

Updated snowflake test: dbt-labs/dbt-snowflake#779

@MichelleArk MichelleArk merged commit 408a789 into main Sep 28, 2023
65 checks passed
@MichelleArk MichelleArk deleted the improve-show-fixture branch September 28, 2023 18:35
github-actions bot pushed a commit that referenced this pull request Sep 28, 2023
github-actions bot pushed a commit that referenced this pull request Sep 28, 2023
McKnight-42 pushed a commit that referenced this pull request Sep 28, 2023
(cherry picked from commit 408a789)

Co-authored-by: Michelle Ark <MichelleArk@users.noreply.github.com>
McKnight-42 pushed a commit that referenced this pull request Sep 28, 2023
(cherry picked from commit 408a789)

Co-authored-by: Michelle Ark <MichelleArk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-3170] [Fix] sql_header is being rendered twice in dbt show
3 participants