blob: 050e1b42e2b1bbd70e107c773031a5f129b2b1fe [file]
SELECT
concat('https://github.com/', repo_name, '/commit/', commit_id) AS URL,
count() AS comments,
count(distinct actor_login) AS authors
FROM github_events
WHERE (event_type = 'CommitCommentEvent') AND commit_id != ""
GROUP BY
repo_name,
commit_id
HAVING authors >= 10
ORDER BY count() DESC, URL, authors
LIMIT 50