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

[Feature] Support google.auth.credentials.AnonymousCredentials for bigquery enabling to unit test models. #1377

Closed
3 tasks done
shrivastava-ankur opened this issue Oct 20, 2024 · 3 comments
Labels

Comments

@shrivastava-ankur
Copy link

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing dbt-bigquery functionality, rather than a Big Idea better suited to a discussion

Describe the feature

Support google.auth.credentials.AnonymousCredentials for bigquery enabling to unit test models in isolation locally.

  • use of AnonymousCredentials
  • Ability to pass api_endpoint as client_options to client instantiation

Describe alternatives you've considered

No available options to connect to bigquery-emulator instance for isolated testing.

Who will this benefit?

All the dbt developers using bigquery will be benefitted, as this change would allow them to test the models in isolation.

Are you interested in contributing this feature?

Yes, I am ready with the changes.

Anything else?

No response

@amychen1776
Copy link

Thank you for opening up this issue! At this time we are not prioritizing supporting the BQ emulator so I am going to close this issue out for now.

@amychen1776 amychen1776 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2024
@nightscape
Copy link

Hi @amychen1776, I think this would be quite helpful.
@shrivastava-ankur created a PR for it, which now has conflicts due to refactorings, but could be ported forward (which I'd be happy to do).
It's actually just ~20 added lines of code, so it hopefully doesn't burden future maintenance.

@jtcohen6
Copy link
Contributor

@nightscape See the related conversation in a similar PR:

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

No branches or pull requests

4 participants