英文:
BigQuery API query job return 404 for existing dataset, while using the magic request bigquery?
问题
I have set up a bigquery client with complete authentication, then tried to fetch the dataframe using a magic request
from google.colab import auth
auth.authenticate_user()
print('Authenticated')
%%bigquery df
select * from `project_id.dataset.table`
I'm getting the following error
The requested URL <code>/bigquery/v2/projects//jobs?prettyPrint=false</code> was not found on this server.
Can anyone tell me what's the problem?
英文:
I have set up a bigquery client with complete authentication, then tried to fetch the dataframe using a magic request
from google.colab import auth
auth.authenticate_user()
print('Authenticated')
%%bigquery df
select * from `project_id.dataset.table`
I'm getting the following error
The requested URL <code>/bigquery/v2/projects//jobs?prettyPrint=false</code> was not found on this server.
Can anyone tell me what's the problem?
答案1
得分: 1
这里我没有提供完整的细节,因此无法访问该页面。
提供 Project_id 和 project_details
pid = "Project_id"
%%bigquery --project $pid df
select * from `project_id.dataset.table`
这将起作用。
英文:
Here I have not provided the complete details, hence it's unable to reach out to the page.
Provide the Project_id and project_details
pid = "Project_id"
%%bigquery --project $pid df
select * from `project_id.dataset.table`
This will work.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论