lquerel / gcp-bigquery-client

GCP BigQuery Client (Rust)
Apache License 2.0
92 stars 60 forks source link

allow overriding base_url #37

Closed MarcoIeni closed 1 year ago

MarcoIeni commented 1 year ago

fix https://github.com/lquerel/gcp-bigquery-client/issues/36

I tested this with the https://github.com/goccy/bigquery-emulator docker image and it works!

lquerel commented 1 year ago

Sorry for the delay. Thanks for this nice PR.

lquerel commented 1 year ago

Merged. Thanks for this contribution.

olirice commented 1 year ago

@MarcoIeni @lquerel any chance you could post a snippet showing how to create a client that plays nice with bigquery-emulator? I'm struggling with how to skip authentication

i.e.

let client = ClientBuilder::new()
  .with_v2_base_url("localhost:9111")
  .build_from<???>;  // emulator client with no auth

thanks!!

MarcoIeni commented 1 year ago

Sure, I'll try to do it this weekend.

MarcoIeni commented 1 year ago

@olirice https://github.com/lquerel/gcp-bigquery-client/pull/47 :)

olirice commented 1 year ago

thanks!!