Created
September 19, 2016 12:15
-
-
Save matburt/7eb5e241c7c072f460b0e7d7c67ccd61 to your computer and use it in GitHub Desktop.
Octoverse 2016 - Repositories with most contributors (top 20)
This file contains hidden or 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 | |
| events.repo.name AS events_repo_name, | |
| COUNT(DISTINCT events.actor.id) AS events_actor_count | |
| FROM ( | |
| SELECT | |
| * | |
| FROM TABLE_DATE_RANGE([githubarchive:day.],TIMESTAMP('2015-09-01'),TIMESTAMP('2016-08-31'))) AS events | |
| WHERE | |
| events.type = 'CommitCommentEvent' | |
| OR events.type = 'PushEvent' | |
| OR events.type = 'IssueCommentEvent' | |
| OR events.type = 'PullRequestEvent' | |
| OR events.type = 'PullRequestReviewCommentEvent' | |
| OR events.type = 'IssuesEvent' | |
| GROUP BY | |
| 1 | |
| ORDER BY | |
| 2 DESC | |
| LIMIT | |
| 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment