13 lines
336 B
SQL
13 lines
336 B
SQL
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
|