10 lines
315 B
SQL
10 lines
315 B
SQL
-- SELECT
|
|
-- label,
|
|
-- count() AS c
|
|
-- FROM github_events
|
|
-- LATERAL VIEW explode_split(labels, ',') t AS label
|
|
-- WHERE (cast(v["type"] as string) IN ('IssuesEvent', 'PullRequestEvent', 'IssueCommentEvent')) AND (action IN ('created', 'opened', 'labeled'))
|
|
-- GROUP BY label
|
|
-- ORDER BY c DESC
|
|
-- LIMIT 50
|