-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 Request]: Set quota project in beam.io.ReadFromBigQuery
#31126
Comments
@shahar1 this level of customization might make sense. Let's explore your specific concern for a moment, I might have others, but imagine worth understanding your needs/usecase: What Quotas are getting hit that are problematic? Or, what are the specific billing charges you are looking to attribute elsewhere? |
Also, I wonder whether implimentation of this issue would help with #30747 |
Thank for your response! Here are the answers for your questions:
As for #30747 - it is related, but there might be some changes in implementation as GCS is project's resource rather than a service. |
@shahar1 sounds like you've got a decent idea/design in mind, which could be supported. Are you interested in contributing? Feel free to start and include me on PRs, if that's the case. |
I'd be happy to try! |
.take-issue |
This should be pretty good --> https://github.com/apache/beam/blob/master/CONTRIBUTING.md If you find a problem [ or that is outdated ], let's overcome and fix the docs along the way. |
Are there any updates on this? |
I haven't managed to work on it yet. |
What would you like to happen?
This issue relates to the Python SDK, but it is probably relevant to other SDKs as well:
We have a use case where queries initiated by
beam.io.ReadFromBigQuery
should be billed on a specific GCP Project ID.As we use a custom container, the only option for now would be setting the env. var.
GOOGLE_CLOUD_QUOTA_PROJECT
in the Dockerfile - but it affects all other GCP services as well.It would be best making it configurable via the connector (i.e.,
beam.io.ReadFromBigQuery(..., quota_project_id='some-project-id)
).When implementing, you could gain inspiration from similar feature in
beam.io.WriteToBigQuery
: #16186.Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: