Tackling BigQuery Resource Issues in Vertex AI Batch Predictions

Samet Karadag
1 min readDec 26, 2023

--

As ML engineers, running batch predictions on Vertex AI is a common practice. However, encountering errors related to BigQuery resources can be a roadblock. One typical issue is receiving an error message stating, “Batch prediction job encountered the following errors: BigQuery resource does not exist.” Here’s a quick guide to address this:

Problem: Non-Existent Resources

Batch prediction job test encountered the following errors:

  • BigQuery resource does not exist.
  1. Input Table/View: Ensure the input table or view specified in your job exists. Typos or non-existent resources will trigger errors.
  2. Output Dataset: Confirm the existence of the output dataset. Create it before running the job if it doesn’t exist.
  3. Using view instead of table as input: If you provided a view name as input, it can cause the same error, ensure you are providing a table.

Quick Fixes:

  • Verify Configuration: Double-check your job configuration for accurate resource references.
  • Create Resources Beforehand: Ensure input and output resources exist before initiating the batch prediction job.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Samet Karadag
Samet Karadag

Written by Samet Karadag

Strategic Cloud Engineer @ Google Cloud

No responses yet

Write a response