-
Notifications
You must be signed in to change notification settings - Fork 0
Update views to use neighborhood district & PUMA #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
joverlee521
wants to merge
7
commits into
master
Choose a base branch
from
update-views-with-puma-neighborhood
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
5d6a9ae
Add warehouse views for PUMA and neighborhood_district
joverlee521 1fa327b
add shipping.incidence_model_observation_v4
joverlee521 56efa0e
Tag schema
joverlee521 a323076
add shipping.metadata_for_augur_build_v4
joverlee521 ce1d866
augur-build-exporter: Update grants
joverlee521 a7e2faa
Tag schema
joverlee521 f5d9744
api: Add metadata for augur build v4 endpoint
joverlee521 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
22 changes: 22 additions & 0 deletions
22
schema/deploy/roles/augur-build-exporter/grants@2020-02-24.sql
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| -- Deploy seattleflu/id3c-customizations:roles/augur-build-exporter/grants to pg | ||
|
|
||
| begin; | ||
|
|
||
| revoke all on database :"DBNAME" from "augur-build-exporter"; | ||
| revoke all on schema receiving, warehouse, shipping from "augur-build-exporter"; | ||
| revoke all on all tables in schema receiving, warehouse, shipping from "augur-build-exporter"; | ||
|
|
||
| grant connect on database :"DBNAME" to "augur-build-exporter"; | ||
|
|
||
| grant usage | ||
| on schema shipping, warehouse | ||
| to "augur-build-exporter"; | ||
|
|
||
| grant select | ||
| on shipping.metadata_for_augur_build_v3, | ||
| shipping.metadata_for_augur_build_v2, | ||
| shipping.genomic_sequences_for_augur_build_v1, | ||
| warehouse.tract | ||
| to "augur-build-exporter"; | ||
|
|
||
| commit; |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you add
site_category?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removed an extra join in
metadata_for_augur_buildwithwarehouse.sitethat was used to get thesite_category. I thought we might as well include it in the modeling view