Marketing provides a CSV with 1 million rows to update an existing BigQuery table. Using UPDATE hits a quotaExceeded error. What should you do to apply the updates?
Choose an answer
Tap an option to check your answer.
Correct answer: Load the CSV into a new staging BigQuery table, MERGE the staging with the existing table, and write results to a new table..
Why this is the answer
The correct approach is to load the CSV into a staging table and use a MERGE statement. BigQuery's UPDATE DML statements are subject to quotas, particularly for large numbers of rows or frequent operations. Directly updating 1 million rows with UPDATE can easily exceed these limits. Option 1 (reducing daily updates) is impractical for a 1 million-row update. Option 2 (raising quotas) is generally not possible for DML statement limits, which are often fixed or have very high default values that are difficult to increase significantly. Option 3 (splitting the CSV) still involves numerous individual UPDATE statements, which would likely hit the same DML quota. Using MERGE is the recommended pattern for large-scale updates or upserts in BigQuery. It processes changes in a single, more efficient operation, avoiding the DML statement quota issues associated with many individual UPDATE commands.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed