Error processing job: Project has not enabled BigQuery

前端 未结 4 1521
走了就别回头了
走了就别回头了 2021-02-10 09:26

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

Response is: BigQuery error in query operatio

相关标签:
4条回答
  • 2021-02-10 09:42

    Had similar issue today. Tried to re-enable BigQuery API, and it works now. But most likely, the problem was on Google's side:

    July 26, 2017 Google BigQuery reporting issues

    0 讨论(0)
  • 2021-02-10 10:02

    Let's say your project name is "bq-project". So you created a dataset called "bq-dataset". There are a lot of tables "table1,table2,table3". So you need to retrieve table1 data. First, You can try this via big query web UI.

    SELECT * from bq-project.bq-dataset.table1

    0 讨论(0)
  • 2021-02-10 10:05

    Double check that you have enabled the BigQuery API via the console.

    https://console.cloud.google.com/apis/api/bigquery-json.googleapis.com/overview?project=<your-project-id>&duration=PT1H

    0 讨论(0)
  • 2021-02-10 10:07
    • First, as mentioned in early comments and answers, ensure that you have enabled the BigQuery API.

    • If you still get the same error message, you are most likely using the project name where you should be using the project id.

      The project id is the project name followed by a number, and you should be able to find it using the Console.

    • If you are sure you have the API enabled and the id and the name sorted correctly, try checking the Google Cloud Status Dashboard for any ongoing BigQuery outages.

    0 讨论(0)
提交回复
热议问题