Created
April 28, 2012 19:07
-
-
Save igrigorik/2521371 to your computer and use it in GitHub Desktop.
BigQuery example
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
/* top 100 repos for Ruby by number of pushes */ | |
SELECT repository_name, count(repository_name) as pushes, repository_description, repository_url | |
FROM [githubarchive:github.timeline] | |
WHERE type="PushEvent" | |
AND repository_language="Ruby" | |
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2012-04-01 00:00:00') | |
GROUP BY repository_name, repository_description, repository_url | |
ORDER BY pushes DESC | |
LIMIT 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment