Datasets:
Download code/top_issue_authors.sql from open-index/open-github-issues: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/datasets/open-index/open-github-issues/resolve/ed1bc08a4f427425778257eb0ed6a605d3dc0f96/code/top_issue_authors.sql
- Command line
-
hf download hf://datasets/open-index/open-github-issues@ed1bc08a4f427425778257eb0ed6a605d3dc0f96/code/top_issue_authors.sql
-
curl -L -o top_issue_authors.sql https://huggingface.co/datasets/open-index/open-github-issues/resolve/ed1bc08a4f427425778257eb0ed6a605d3dc0f96/code/top_issue_authors.sql
365 Bytes
| -- Top issue authors across all repos | |
| SELECT | |
| author, | |
| COUNT(*) as issue_count, | |
| COUNT(*) FILTER (WHERE state = 'open') as open, | |
| COUNT(*) FILTER (WHERE state = 'closed') as closed | |
| FROM read_parquet('hf://datasets/open-index/open-github-issues/data/issues/**/0.parquet') | |
| WHERE is_pull_request = false | |
| GROUP BY author | |
| ORDER BY issue_count DESC | |
| LIMIT 20; | |