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

How can I use the BigQuery Client without authentication? #331

Open
rodmoioliveira opened this issue Dec 18, 2024 · 3 comments
Open

How can I use the BigQuery Client without authentication? #331

rodmoioliveira opened this issue Dec 18, 2024 · 3 comments

Comments

@rodmoioliveira
Copy link

Hi, @yoshidan! First of all, thanks for this crate. I've been using it for some of my projects, and it's really nice.

Here's my problem: I'd like to write some integration tests using testcontainters and bigquery-emulator. Nonetheless, I couldn't find a way to set up the BigQuery Client to connect without authentication.

For instance, the Golang lib has the option WithoutAuthentication(), and Python's lib has AnonymousCredentials().

To write my integration test, I will also need to change the BigQuery endpoint, but I believe I can do it using the ClientConfig.with_endpoint() method.

Is it possible to use BigQuery Client without authentication?

Thank you in advance.

@yoshidan
Copy link
Owner

yoshidan commented Dec 18, 2024

The bigquery emulator is not supported because there is no official google emulator.
Only pubsub and spanner are currently supported.

The emulator you mentioned seems to be used frequently, so we will check its operation and consider supporting it.

@rodmoioliveira
Copy link
Author

@yoshidan, I am grateful for your prompt response and I appreciate your attention to this matter. Is there anything I can do to assist?

@yoshidan
Copy link
Owner

yoshidan commented Dec 29, 2024

#336 enable us to use bigquery emulator.
I have checked that several API works.
However, the Streaming Read API does not seem to work properly. We will investigate this.

Is there anything I can do to assist?

If you have time, it would be helpful to see if the Streaming API and other APIs work.

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

No branches or pull requests

2 participants