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