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

server: allow customizing BigQuery endpoint #8875

Open
hgiasac opened this issue Aug 28, 2022 · 0 comments
Open

server: allow customizing BigQuery endpoint #8875

hgiasac opened this issue Aug 28, 2022 · 0 comments
Labels
k/enhancement New feature or improve an existing feature

Comments

@hgiasac
Copy link
Contributor

hgiasac commented Aug 28, 2022

Is your proposal related to a problem?

There is some BigQuery emulator library, e.g https://github.com/goccy/bigquery-emulator. The client can connect with the emulator with a custom endpoint, e.g http://0.0.0.0:9050. It's useful for local development and testing.

Describe the solution you'd like

Add an env variable named HASURA_GRAPHQL_BIGQUERY_SERVICE_ENDPOINT. The default value is https://bigquery.googleapis.com. This variable is global that takes effect on all BigQuery data sources.

Describe alternatives you've considered

We can allow this setting to individual data sources. It's more flexible but IMO it isn't necessary. Moreover it also takes more efforts for the console team

If the feature is approved, would you be willing to submit a PR?

Yes, if I have time to do it.

@hgiasac hgiasac added the k/enhancement New feature or improve an existing feature label Aug 28, 2022
@hgiasac hgiasac changed the title Allow customizing BigQuery endpoint server: allow customizing BigQuery endpoint Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant