Skip to content

Fix calling get_client in BigQueryHook.table_exists#9916

Merged
turbaszek merged 2 commits into
apache:masterfrom
king:bqhook_table_exists
Jul 22, 2020
Merged

Fix calling get_client in BigQueryHook.table_exists#9916
turbaszek merged 2 commits into
apache:masterfrom
king:bqhook_table_exists

Conversation

@nathadfield

Copy link
Copy Markdown
Contributor

Calling the get_client method in hook.table_exists should specify the PROJECT_ID.

Closes: #9900

Description above provides context of the change

  • Unit tests coverage for changes (not needed for documentation changes)
  • Target Github ISSUE in description if exists
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

@boring-cyborg boring-cyborg Bot added the provider:google Google (including GCP) related issues label Jul 21, 2020
@nathadfield

Copy link
Copy Markdown
Contributor Author

@turbaszek I foolishly deleted my branch for this fix so had to resubmit the PR. Would you mind reviewing again?

@turbaszek turbaszek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good! Thanks @nathadfield !

@turbaszek turbaszek merged commit c4244e1 into apache:master Jul 22, 2020
@nathadfield nathadfield deleted the bqhook_table_exists branch August 18, 2020 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bigqueryhook.table_exists always falls back to the default GCP connection_id.

3 participants