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 validate connection failing #168

Merged
merged 4 commits into from
Apr 27, 2022
Merged

fix validate connection failing #168

merged 4 commits into from
Apr 27, 2022

Conversation

ChenyuLInx
Copy link
Contributor

resolves #

Description

make sure validate connection won't fail due to profile doesn't have comment

Checklist

  • I have signed the CLA
  • 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
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-bigquery next" section.

@McKnight-42
Copy link
Contributor

https://github.com/dbt-labs/dbt-bigquery/runs/6187865236?check_suite_focus=true looks like last night we had a failure in regards to this? do we know why it's happening?

@gshank
Copy link
Contributor

gshank commented Apr 27, 2022

Yes, that's related to this. There was a PR in dbt-core which requires this pull request in BigQuery.


if self.profile.query_comment and self.profile.query_comment.job_label:
if (
hasattr(self.profile, "query_comment")
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 is the only meaningful change, others are just format fixes by black

@ChenyuLInx ChenyuLInx closed this Apr 27, 2022
@ChenyuLInx ChenyuLInx reopened this Apr 27, 2022
Copy link
Contributor

@McKnight-42 McKnight-42 left a comment

Choose a reason for hiding this comment

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

LGTM

@ChenyuLInx ChenyuLInx merged commit 8ef193a into main Apr 27, 2022
@ChenyuLInx ChenyuLInx deleted the test_validate_connection branch April 27, 2022 15:11
ChenyuLInx added a commit that referenced this pull request Apr 27, 2022
* fix validate connection failing

* fix code check

* more format
@ChenyuLInx ChenyuLInx mentioned this pull request Apr 27, 2022
4 tasks
ChenyuLInx added a commit that referenced this pull request Apr 27, 2022
* fix validate connection failing (#168)
siephen pushed a commit to AgencyPMG/dbt-bigquery that referenced this pull request May 16, 2022
* fix validate connection failing

* fix code check

* more format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants