Skip to content
Advertisement

GBQ – Get around the Exceeded rate limits issue

i have questions about Exceeded rate limits issue in Google Big Query. I need to compare two tables (about 30k rows) and find unique people in first table and find unique people in the other one. I need to insert these “new” people into another tables and get an Exceeded rate limits issue. I use Python to make queries to GBQ and even create a class for it.

  1. Is it possible to find people without using Python list comparing – just in GBQ?

  2. Is it possible to remove Exceeded rate limits issue using my Python class?

  3. Maybe, is it better to use built-in functions like here: https://cloud.google.com/bigquery/docs/streaming-data-into-bigquery

My class has a lot of functions (select, insert, delete, etc.) and looks like this:

JavaScript

Advertisement

Answer

For your first question, yes, it is possible by making use of the compare query that I am sharing below:

JavaScript

For your second question, specifically for the code you are sharing you can’t remove the exceeded rate limit since you are reaching the table update limit. This happens because the quota replenishes periodically, you would have to wait a couple minutes to try again, but take care of your table update quota so you don’t receive this error again.

And for your third point, in Stack Overflow it isn’t allowed to ask for recommendations since this would change to an opinion based question and your question could be closed, you can read more about these best practices here.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement