igrigorik / gharchive.org

GH Archive is a project to record the public GitHub timeline, archive it, and make it easily accessible for further analysis.

Home Page:https://www.gharchive.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to run dataset query in BigQuery

vlad-isayko opened this issue Β· comments

Hi @igrigorik πŸ‘‹

I just try to run this sample:

SELECT event as issue_status, COUNT(*) as cnt FROM (
  SELECT type, repo.name, actor.login,
    JSON_EXTRACT(payload, '$.action') as event, 
  FROM `githubarchive.day.20190101`
  WHERE type = 'IssuesEvent'
)
GROUP by issue_status;

But I got an error in response:Access Denied: Project githubarchive: User does not have bigquery.jobs.create permission in project githubarchive

Could you help with this?

@vlad-isayko you need to create own / separate project, instructions: https://www.gharchive.org/#bigquery

You're trying to run the query within project that's hosting the dataset.