Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions sql/moz-fx-data-shared-prod/tmp_forecasts/dataset_metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
friendly_name: Temporary Forecasts
description: |-
Temporary dataset pending a conversation on naming conventions. Use at your own risk.
Views on forecasts based on Firefox data and external models. Forecast views may also live in other datasets related to the products they support.
dataset_base_acl: view
user_facing: true
labels: {}
default_table_workgroup_access:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove default_table_workgroup_access here:

DEFAULT_WORKGROUP_ACCESS = [
dict(role="roles/bigquery.dataViewer", members=["workgroup:mozilla-confidential"])
]
DEFAULT_TABLE_WORKGROUP_ACCESS = DEFAULT_WORKGROUP_ACCESS

- role: roles/bigquery.dataViewer
members:
- workgroup:mozilla-confidential
default_table_expiration_ms: null
workgroup_access:
- role: roles/bigquery.dataViewer
members:
- workgroup:mozilla-confidential
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not mean we necessarily have to call this tmp_ it was more a note for ourselves to keep this in mind when using it.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
friendly_name: Temporary Forecasts Derived
description: |-
Temporary dataset pending a conversation on naming conventions. Use at your own risk.
Forecasts based on Firefox data and external models, plus related secondary tables. Writable by the Outerbounds default perimeter.
This dataset combines forecasts across products; forecasts may also live in other datasets related to the products they support.
dataset_base_acl: derived
user_facing: false
labels: {}
default_table_workgroup_access:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scholtzan if I remember correctly we should not be specifying default_table_workgroup_access, this is something the metadata generation / update command does?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove default_table_workgroup_access here:

DEFAULT_WORKGROUP_ACCESS = [
dict(role="roles/bigquery.dataViewer", members=["workgroup:mozilla-confidential"])
]
DEFAULT_TABLE_WORKGROUP_ACCESS = DEFAULT_WORKGROUP_ACCESS

- role: roles/bigquery.dataViewer
members:
- workgroup:mozilla-confidential
default_table_expiration_ms: null
workgroup_access:
- role: roles/bigquery.dataViewer
members:
- workgroup:mozilla-confidential
- workgroup:dataops-managed/external-outerbounds-task-default
- role: roles/bigquery.dataEditor
members:
- workgroup:dataops-managed/external-outerbounds-task-default