Closed JafarAkhondali closed 6 years ago
I implemented this for the new release:
A also kept the merged repository name, because people may already rely on that column in their scripts. I may drop it after the MSR mining challenge is over.
Until the new release is out, you can use this snippet to split column RepoName
:
#standardSQL
SELECT
RepoArray[OFFSET(0)] AS RepoOwner,
RepoArray[OFFSET(1)] AS RepoName
FROM (
SELECT SPLIT(RepoName, "/") as RepoArray
FROM `sotorrent-org.gh_so_references_2018_09_23.PostReferenceGH`
);
I think it would be nice to separate repository name and repository owner name into two columns in
PostReferenceGH
table