-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix autoformat issues and vm directory logic
- Loading branch information
Showing
6 changed files
with
15 additions
and
25 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
-- get arxiv metadata used for matching | ||
SELECT | ||
gcp_cset_arxiv_metadata.arxiv_metadata_latest.id, | ||
gcp_cset_arxiv_metadata.arxiv_metadata_latest.title, | ||
gcp_cset_arxiv_metadata.arxiv_metadata_latest.abstract, | ||
lower(gcp_cset_arxiv_metadata.arxiv_metadata_latest.doi) AS clean_doi, | ||
extract(YEAR FROM gcp_cset_arxiv_metadata.arxiv_metadata_latest.created) AS year, | ||
arxiv_metadata_latest.id, | ||
arxiv_metadata_latest.title, | ||
arxiv_metadata_latest.abstract, | ||
lower(arxiv_metadata_latest.doi) AS clean_doi, | ||
extract(YEAR FROM arxiv_metadata_latest.created) AS year, | ||
a.last_names, | ||
NULL AS references --noqa: L029 | ||
FROM gcp_cset_arxiv_metadata.arxiv_metadata_latest | ||
LEFT JOIN | ||
{{ staging_dataset }}.arxiv_authors AS a | ||
ON a.id = gcp_cset_arxiv_metadata.arxiv_metadata_latest.id | ||
ON a.id = arxiv_metadata_latest.id |
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
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