Created
October 12, 2019 21:16
-
-
Save ewhauser/a3b72e593f18d3d265a17e7f89340c07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT repo.name, JSON_EXTRACT(payload, '$.issue.number') as issue_id, COUNT(*) as count, JSON_EXTRACT(payload, '$.issue.title') as title | |
FROM `githubarchive.month.*` | |
WHERE type = 'IssueCommentEvent' | |
and repo.name = 'angular/angular' | |
and (_TABLE_SUFFIX like '2019%' or _TABLE_SUFFIX like '2018%' or _TABLE_SUFFIX like '2017%') | |
GROUP BY repo.name, issue_id, title | |
ORDER BY count desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment