简体   繁体   中英

Scheduled query returning "Procedure not found"

We have created a scheduled query on Google's BigQuery API that should call a routine main_routine that is present in a dataset analytics :

call analytics.main_routine()

The region of the dataset and the scheduled query is the same ( us ).

Every job execution of this scheduled query is returning the following error:

Procedure is not found: analytics.main_routine at [1:6];

Any help is appreciated, thank you!

Could you please make sure, Project name is included when calling the procedure as below:

call <Project_name>.<Dataset_Name>.<Procedure_Name>();

When you schedule the query, it fails with Procedure not found: analytics.main_routine at [1:6] because it runs on a multi region (US).

Please try to schedule the query on a specific region (single region - us-central1) and let me know if it worked or not.

Multi-region:

在此处输入图像描述

Single region:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM