Created
June 6, 2020 00:23
-
-
Save josh-newman/e2e41cdb5ed7df26b1543db2a1699a06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
path | |
,count(1) | |
from `bigquery-public-data.github_repos.files` | |
join ( | |
select distinct repo_name | |
from `bigquery-public-data.github_repos.languages` | |
cross join unnest(language) | |
where name = 'Go' | |
) using (repo_name) | |
where (path = 'LICENSE.txt' or path = 'LICENSE') | |
group by 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment