Querying Public Data set
See original GitHub issueI’m trying to run a Query trough the public Data in BigQuery using Java and Eclipse. When I run my code, I get:
HTTP ERROR 500
Problem accessing /Getbigquery. Reason:
Server Error
Caused by:
com.google.cloud.bigquery.BigQueryException: Access Denied: Project bigquery-public-data: The user MyAdress@gmail.com does not have bigquery.jobs.create permission in project bigquery-public-data.
I the IAM my Mail Address has the Owner Role for BigQuery.
What I’m worried about is my BigQuery Console. The Public Data is not listed in my Project but separately and I can’t click on “copy table” to copy it to my Project because it says: “Required parameter is missing”.
Isn’t it possible to query the public Dataset with Java from Eclipse or is there something else I must think of?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
BigQuery public datasets - Google Cloud
You can access BigQuery public datasets by using the Google Cloud console, by using the bq command-line tool, or by making calls to...
Read more >How to access BigQuery Public Data Sets - Optimize Smart
The first method to access the BigQuery public data sets ... Note: You need to create or select a project before you start...
Read more >Accessing BigQuery Public Datasets in BigQuery - PopSQL
Explore Your BigQuery Public Dataset in PopSQL ... Once connected, open a new query in PopSQL and you can query your public dataset:...
Read more >Explore Public Datasets with Google BigQuery and DataStudio
Sample of the public dataset from Google Big Query (Screenshot by Author ... As with all data in the Google Cloud Public Datasets...
Read more >Best Google BigQuery Public Datasets for 2022 - Hevo Data
In simple terms, a public dataset is any sort of dataset stored in Bigquery. It is then made available to users through the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A bit of necromancing here: I just encountered the very same issue, not when issuing any form of CREATE statement; rather just SELECTing data from a public dataset - the problem appears to have been that I had not yet selected a Project when attempting to execute the query. As soon as I did, the error went away. Google could do a lot better job catching that edge case and instructing the user accordingly.
This is the key part of the error:
The user MyAdress@gmail.com does not have bigquery.jobs.create permission in project bigquery-public-data.
You will not be able to run a
create
query on the projectbigquery-public-data
. The user atMyAdress@gmail.com
will have the Owner Role for BigQuery in your project, but not the publicbigquery-public-data
project. Try changing the project id set in your code to your own project - you should then be able to run the create query.