Граф коммитов

6575 Коммитов

Автор SHA1 Сообщение Дата
Katie Windau b45a80f005
Add firefox_ios_derived.client_adclicks_history_v1 to exclusion list since used in Firefox iOS LTV calculation (#6915) 2025-01-29 23:05:08 +00:00
Alekhya c9dc7961b7
DENG-7330 Fix search counts in clients_daily_v6 table (#6888) 2025-01-29 21:24:22 +00:00
Katie Windau f520e16b6c
DENG-7723 Clean up/optimize new Fx Health indicator tables (#6907)
* Remove unnecessary filter

* Remove unnecessary filter

* Remove unnecessary filter

* Remove unnecessary filter

* Remove unnecessary filter

* Remove unnecessary filter

* Add channel to query to make table more usable for others, and update view to be release only so Fx Health dashboard still works as expected

* Add normalized OS to the table to make it more usable for other use cases, and update view to be Windows only so Fx Health dashboard still works as expected

* Update clustering
2025-01-29 20:49:35 +00:00
Vanessa Sabino 3313e9303f
Backfill feature_usage_metrics_v2 (#6910)
* backfill feature_usage_metrics_v2

* override_retention_limit
2025-01-29 20:19:31 +00:00
Ben Wu af1ba1ab43
Update schema for newtab_daily_interactions_aggregates_v1 (#6909) 2025-01-29 20:03:54 +00:00
kik-kik 73cc6518cb
feat(DENG-6890): mobile kpi support metrics managed backfill 20250122 (#6847)
* feat: add backfill.yaml entries for fenix retention, new_profiles and engagement queries

* feat: add backfill.yaml entries for firefox_ios retention, new_profiles and engagement queries

* feat: add a note to metadata that the new fields are available on firefox ios and fenix starting 2024-03-04

* feat: add shredder_mitigation flag to the new backfills entries, but set it to false also in metadata for now.
2025-01-29 19:37:12 +00:00
Vanessa Sabino 717fc90af7
Fix mobile feature usage v2 (#6908)
* use UDF to SUM labeled counters

* fix ping joining interval to avoid overlap

* remove shredder mitigation to help with backfill
2025-01-29 19:37:02 +00:00
kik-kik ad13acdcfe
feat: Move baseline_clients_daily_v1 backfill entry to Complete for firefox_ios and fenix beta and release channels (#6894) 2025-01-29 18:01:48 +00:00
Ben Wu 2d616396d7
Remove shredder mitigation metadata check (#6906)
* Remove shredder mitigation metadata check

* Add generated active_users_aggregates_v3 to codeowners
2025-01-29 17:28:56 +00:00
Yashika Khurana 5009ffb461
feat(nimbus): Update user_id to nimbus_user_id (#6595) 2025-01-29 17:02:45 +00:00
dependabot[bot] c3478f7e9f
chore(deps): bump authlib from 1.4.0 to 1.4.1 (#6904)
Bumps [authlib](https://github.com/lepture/authlib) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/lepture/authlib/releases)
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst)
- [Commits](https://github.com/lepture/authlib/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: authlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 16:41:26 +00:00
dependabot[bot] a62aa3c5e8
chore(deps): bump black from 24.10.0 to 25.1.0 (#6905)
Bumps [black](https://github.com/psf/black) from 24.10.0 to 25.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.10.0...25.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 16:40:50 +00:00
Ben Wu 2ee41e836f
Make validate-metadata run on all files (#6891) 2025-01-29 15:49:00 +00:00
Can Berk Güder fa5b93dc8b
Bug 1944385 - Further fix adm_daily_aggregates_v1 (#6903)
Co-authored-by: Wesley Dawson <whd@mozilla.com>
2025-01-29 01:12:32 +00:00
Alekhya 5c766107a5
Lower the overactive filter count (#6886) 2025-01-28 22:41:31 +00:00
Alekhya 57179b56b5
DENG 6821 - Primarily add LTV and first_seen tables to the exclusion list (#6856)
* Add ltv and first_seen tables to exclusion list

* Fix CI issue
2025-01-28 22:21:28 +00:00
Marlene Hirose 3f588c75c0
update schema to turn created_at into a TIMESTAMP, add url parameters… (#6881)
* update schema to turn created_at into a TIMESTAMP, add url parameters to designate date for data to be downloaded

* add date functions to get day before and day after of submission_date, add microseconds to date in url params so we can make sure to get all decisions made on a single day
2025-01-28 21:59:50 +00:00
Can Berk Güder f6149cd6e7
Fix adm_daily_aggregates_v1 (#6898)
suggest_impression_sanitized_v3 renames sanitized_query to query, which
broke this job after https://github.com/mozilla/bigquery-etl/pull/6845.

This should fix it.
2025-01-28 21:19:10 +00:00
kik-kik 9dc73e20f4
feat: move addons_derived.search_detection_v1 backfill to Comeplete (#6899) 2025-01-28 18:39:47 +00:00
kik-kik adac578c48
feat: Update backfill entry to Done for baseline_clients_daily_v1 for firefox_ios and fenix nightly app ids (#6893) 2025-01-28 18:29:20 +00:00
Anna Scholtz b89a660065
Update cinder_decisions_raw_v1 schema (#6896)
* Update cinder_decisions_raw_v1 schema

* Update schema.yaml

* Update schema.yaml
2025-01-28 17:09:09 +00:00
kik-kik 89078adfeb
fix: add override_retention_limit setting to search_detection_v1 backfill (#6895) 2025-01-28 16:47:45 +00:00
kik-kik 901f6d02f8
feat(DENG-7656): add backfill.yaml to addons_derived.search_detection_v1 (#6867)
* feat: add backfill.yaml to addons_derived.search_detection_v1

* feat: update shredder mitigation to false to match the backfill entry

* feat: remove amo/prod workgroup for now
2025-01-28 15:21:00 +00:00
kik-kik bede884e56
feat: add city and geo_subdivision to engagement_clients, new_profile_clients, and retention_clients (#6879) 2025-01-28 09:45:18 +00:00
Can Berk Güder 2cea3c6c9d
Fix ADM daily aggregates (#6845)
* Fix ADM daily aggregates

* Address feedback

* Reformat SQL

* Add mock data for quick_suggest_v1 to fix tests

Also change block IDs to be integers across the board

* Fix expected data

* More fixes to expected data

* Add quick_suggest_ping_type, and a click that should be ignored

* Move quick_suggest_context_id to uuid

* Fix expected data
2025-01-27 20:05:02 +00:00
Ben Wu d0ea261807
Specify ping info fields in event_monitoring_live (#6887)
* Specify ping info fields in event_monitoring_live

* (

Co-authored-by: Sean Rose <1994030+sean-rose@users.noreply.github.com>

---------

Co-authored-by: Sean Rose <1994030+sean-rose@users.noreply.github.com>
2025-01-27 20:02:51 +00:00
Winnie Chan 6a586f5595
Removed backfill file (#6890) 2025-01-27 20:00:26 +00:00
Winnie Chan 56f30f6092
Deng 7329 Added shredder mitigation backfill validation (#6874)
* Added shredder mitigation backfill validation

* Added docstring

* Added check for backfill status

* Added more backfill validate tests

* Fixed flake8 errors

* Updated backfill validation error msg
2025-01-27 18:33:36 +00:00
kik-kik c568ca137e
feat(DENG-7649): add backfill.yaml for baseline_clients_daily_v1 for fenix and firefox_ios app (#6877)
* feat: add backfill.yaml for baseline_clients_daily_v1 for fenix and firefox_ios app

* Added override retention limit flag to backfill entries

---------

Co-authored-by: Winnie <wichan@mozilla.com>
Co-authored-by: Winnie Chan <10429026+wwyc@users.noreply.github.com>
2025-01-27 17:22:31 +00:00
Gaurang Katre d9bbcbf34d
DENG-6880 - Daily aggregations for NewTab (#6863)
* DENG-6880 updates to include new fields and aggregations

* adding interactions aggregations

* removing unwanted aggs

* DENG-6880 - Daily aggregations for NewTab

* updating schema.yaml

* Update sql/moz-fx-data-shared-prod/telemetry_derived/newtab_conditional_daily_aggregates_v1/schema.yaml

Co-authored-by: Ben Wu <12437227+BenWu@users.noreply.github.com>

* Adding homepage_category and newtab_category computations

* formatting

---------

Co-authored-by: Ben Wu <12437227+BenWu@users.noreply.github.com>
2025-01-27 17:15:35 +00:00
dependabot[bot] a3b8a0b0db
chore(deps): bump attrs from 24.3.0 to 25.1.0 (#6883)
Bumps [attrs](https://github.com/sponsors/hynek) from 24.3.0 to 25.1.0.
- [Commits](https://github.com/sponsors/hynek/commits)

---
updated-dependencies:
- dependency-name: attrs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 16:46:03 +00:00
Lucia 9f0df59227
Add label to metadata (#6885)
* Add label to metadata.

* Rename column in GROUP BY.

* Rename column in GROUP BY.
2025-01-27 14:38:44 +00:00
Ben Wu 4af2687cb9
Specify ping_info fields in event_monitoring_aggregates (#6878)
* Specify ping_info fields in event_monitoring_aggregates

* Add offset
2025-01-24 23:00:25 +00:00
Winnie Chan b7c06fff8f
Added override retention limit flag to backfill entry (#6880) 2025-01-24 22:57:16 +00:00
kik-kik fcc07de2d2
feat: add backfill.yaml for /org_mozilla_ios_fennec_derived/baseline_clients_daily_v1 (#6876) 2025-01-24 20:41:12 +00:00
Katie Windau 28b2873f0c
Create v2 agg table to test shredder mitigated backfill (#6872)
* Create v2 agg table to test shredder mitigated backfill

* Added missing description for channel column
2025-01-24 19:16:47 +00:00
Lucia 9c3949ec2e
Fix: capture generic exception (#6870)
* CI check that table exists and is not-empty before applying the shredder-mitigation label.

* Formatting.

* Use schema tables to validate that a table exists and is not empty to handle tables with restricted permissions.

* Change total_rows which is not present in all BigQuery versions.

* Formatting

* Capture Forbidden exception.

* Formatting

* Catch generic exception to fix permission error.

* Formatting
2025-01-24 17:36:21 +00:00
kik-kik 90d219830c
fix: make sure the correct filter is applied when selecting search counts when calculating profile activation (#6842) 2025-01-24 17:23:36 +00:00
kik-kik 4edd7ce51e
fix: wrong struct value set as normalized_app_name_os (#6841) 2025-01-24 17:23:24 +00:00
dependabot[bot] 34d2ad5e5b
chore(deps): bump bigeye-sdk from 0.4.96 to 0.4.97 (#6864)
Bumps [bigeye-sdk](https://docs.bigeye.com/docs) from 0.4.96 to 0.4.97.

---
updated-dependencies:
- dependency-name: bigeye-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 17:06:23 +00:00
kik-kik 97496ae6cf
fix: incorrect user_facing setting for addons_derived (#6869)
* fix: incorrect user_facing setting for addons_derived

* fix: use hash instead of -- for yaml comment

* Update sql/moz-fx-data-shared-prod/addons_derived/dataset_metadata.yaml

Co-authored-by: Sean Rose <1994030+sean-rose@users.noreply.github.com>

---------

Co-authored-by: Sean Rose <1994030+sean-rose@users.noreply.github.com>
2025-01-24 17:02:37 +00:00
Lucia 311ed8b1c6
Fix: Capture exception Forbidden (#6868)
* CI check that table exists and is not-empty before applying the shredder-mitigation label.

* Formatting.

* Use schema tables to validate that a table exists and is not empty to handle tables with restricted permissions.

* Change total_rows which is not present in all BigQuery versions.

* Formatting

* Capture Forbidden exception.

* Formatting
2025-01-24 15:46:28 +00:00
Lucia ee69f0b779
CI Check compatible with private-bigquery-etl tables (#6866)
* CI check that table exists and is not-empty before applying the shredder-mitigation label.

* Formatting.

* Use schema tables to validate that a table exists and is not empty to handle tables with restricted permissions.

* Change total_rows which is not present in all BigQuery versions.

* Formatting
2025-01-24 14:36:42 +00:00
Eduardo Filho 53a0f0daf3
chore(glam): generalize refres_agg_release and move fenix there (#6855) 2025-01-24 14:23:29 +00:00
Lucia 228d016fdd
DENG-7329 CI check (#6861)
* CI check that table exists and is not-empty before applying the shredder-mitigation label.

* Formatting.

* Use schema tables to validate that a table exists and is not empty to handle tables with restricted permissions.
2025-01-24 13:03:41 +00:00
kik-kik 5cabc0f8e6
feat(DENG-7038): Addons Search Detection aggregate (#6827)
* feat: add addons dataset along with addon_events_clients that can be used for accessing addon event data by the downstream jobs

* feat: add search_detection_v1 aggregate

* feat: add user facing view for accessing the search_detection aggregate

* feat: apply bqetl sql formating

* feat: fix invalid clustering field

* fix: correct source dataset reference

* fix: missing description for the country field

* feat: remove hashed_addon_id alias as is incorrect in this context
2025-01-24 10:29:01 +00:00
Wil Clouser 40f614538a
Add accounts health tables (#6850)
Co-authored-by: Sean Rose <1994030+sean-rose@users.noreply.github.com>
2025-01-23 19:13:27 +00:00
Sean Rose 97fe142242
feat(dryrun): Pass all query parameters when dry-running queries (#6835)
* feat(dryrun): Pass all query parameters when dry-running queries.

* Update bigquery_etl/dryrun.py

Co-authored-by: Ben Wu <12437227+BenWu@users.noreply.github.com>

---------

Co-authored-by: Ben Wu <12437227+BenWu@users.noreply.github.com>
2025-01-23 19:11:15 +00:00
dependabot[bot] 2e92ce6494
chore(deps): bump google-auth from 2.37.0 to 2.38.0 (#6857)
Bumps [google-auth](https://github.com/googleapis/google-auth-library-python) from 2.37.0 to 2.38.0.
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.37.0...v2.38.0)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 19:10:32 +00:00
Katie Windau c03b34f8be
Create monitoring_derived.table_storage_v1 (#6859)
* Create monitoring_derived.table_storage_v1

* Change from weekly to daily

* Remove shredder mitigation label from old backfill to fix CI error

* Restore to what it was
2025-01-23 17:30:08 +00:00