错误处理作业:项目尚未启用BigQuery [英] Error processing job: Project has not enabled BigQuery

查看:89
本文介绍了错误处理作业:项目尚未启用BigQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用SDK的CLI进行查询时,如下所示: bq query "select * from [project]:[dataset].[table]"

When doing a query using SDK's CLI like this: bq query "select * from [project]:[dataset].[table]"

响应为: BigQuery error in query operation: Error processing job '[project-id]:[job_id]': The project [project_name] has not enabled BigQuery.

Response is: BigQuery error in query operation: Error processing job '[project-id]:[job_id]': The project [project_name] has not enabled BigQuery.

另外,当尝试在应用程序中(例如,在Apache Beam作业内部)调用BQ API时,响应是相同的(错误代码:400,原因:无效)

Also when trying calling the BQ API in an application (e.g. inside an Apache Beam job), the response is the same (with error-code: 400, reason: invalid)

我的控制台中启用了BQ API,并且存在数据集(删除数据集会导致不同的错误消息)

The BQ API is enabled in my console and the dataset is present (removing the dataset results in a different error message)

这听起来确实像是一个愚蠢的问题-但我在Cloud Platform的社区Slack上问了这个问题,但那里也没有任何建议.

This sounds really like a dumb question – but I asked this on the Cloud Platform's community Slack but no suggestions on this there either.

推荐答案

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆