-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dedb43d
commit e91dd93
Showing
2 changed files
with
2 additions
and
3 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
3 changes: 1 addition & 2 deletions
3
dags/oaebu_workflows/sql/shmp_pilot/book_metrics_country_join_muse_country_pilot.sql
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,4 +1,3 @@ | ||
-- for muse collections, the alpha2 value is the full country name and needs to be matched on country_muse_name | ||
LEFT JOIN muse_month_country as muse_country_pilot ON month_country.ISBN13 = muse_country_pilot.ISBN13 | ||
AND month_country.month = muse_country_pilot.month | ||
AND month_country.alpha2 = muse_country_pilot.alpha2 | ||
AND (month_country.country_iso_name = muse_country_pilot.country_name OR month_country.country_wikipedia_name = muse_country_pilot.country_name) |