Skip to content

Instantly share code, notes, and snippets.

@caniszczyk
Created January 18, 2013 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caniszczyk/4565270 to your computer and use it in GitHub Desktop.
Save caniszczyk/4565270 to your computer and use it in GitHub Desktop.
List all pull requests for the Eclipse organization via the GitHub Archive
SELECT repository_name, repository_language, repository_description, url, payload_pull_request_head_repo_size, PARSE_UTC_USEC(created_at) as timestamp
FROM [githubarchive:github.timeline]
WHERE type="PullRequestEvent"
AND (
LOWER(repository_organization) CONTAINS "eclipse"
)
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2012-01-01 00:00:00')
ORDER BY timestamp DESC;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment