blob: 630d2d4d4521f780297d8115336bbbfa8414175d [file] [log] [blame]
SELECT cast(repo["name"] as string), count(), count(distinct cast(actor["login"] as string)) AS u FROM github_events WHERE type = 'PullRequestEvent' AND cast(payload["action"] as string) = 'opened' GROUP BY cast(repo["name"] as string) ORDER BY u DESC, 2 DESC, 1 LIMIT 50