feat(): Add new_profiles and attribution to mobile_kpi_support_metrics generator
This change introduces the following new artifacts to each mobile product (used in this generator):
new_profile_clients (view)
new_profiles (table + view)
attribution_clients (table + view)
attribution (table + view)
New profiles - responsible for enabling reporting around how many new clients / profiles each product has which can be broken down by dimensions used for our current KPI reporting (such as country, channel).
Attribution - aims to act as the source of truth for identifying how to attribute a profile / client.
Checklist for reviewer:
[ ] Commits should reference a bug or github issue, if relevant (if a bug is referenced, the pull request should include the bug number in the title).
[ ] If the PR comes from a fork, trigger integration CI tests by running the Push to upstream workflow and provide the <username>:<branch> of the fork as parameter. The parameter will also show up
in the logs of the manual-trigger-required-for-fork CI task together with more detailed instructions.
[ ] If adding a new field to a query, ensure that the schema and dependent downstream schemas have been updated.
[ ] When adding a new derived dataset, ensure that data is not available already (fully or partially) and recommend extending an existing dataset in favor of creating new ones. Data can be available in the bigquery-etl repository, looker-hub or in looker-spoke-default.
For modifications to schemas in restricted namespaces (see CODEOWNERS):
Note for the reviewer:
sql_generators/mobile_kpi_support_metrics/gen_sql/moz-fx-data-shared-prod/...
path will be deleted prior merging, it was included only to show how the generation modified the queries: https://github.com/mozilla/bigquery-etl/pull/5672/commits/e255d6b21bdac9d54a8b08439fd617b0acc4f7a2#diff-8f7196d7fe625d081c409a80b1fd1a56e13e84f2d0bd779e4da34b0d56cd78bffeat(): Add new_profiles and attribution to mobile_kpi_support_metrics generator
This change introduces the following new artifacts to each mobile product (used in this generator):
New profiles - responsible for enabling reporting around how many new clients / profiles each product has which can be broken down by dimensions used for our current KPI reporting (such as country, channel).
Attribution - aims to act as the source of truth for identifying how to attribute a profile / client.
Checklist for reviewer:
<username>:<branch>
of the fork as parameter. The parameter will also show up in the logs of themanual-trigger-required-for-fork
CI task together with more detailed instructions.For modifications to schemas in restricted namespaces (see
CODEOWNERS
):┆Issue is synchronized with this Jira Task