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/main/code/top_issue_authors.sql
- Command line
-
hf download hf://datasets/open-index/open-github-issues/code/top_issue_authors.sql
-
curl -L -o top_issue_authors.sql https://huggingface.co/datasets/open-index/open-github-issues/resolve/main/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; | |