Bug 1874697 - Unschedule deletion_request_volume_v1 (#4836)

This query was superseded by v2 added in https://github.com/mozilla/bigquery-etl/pull/4442 and is no longer working after payload_bytes_decoded tables have been removed.
This commit is contained in:
akkomar 2024-01-16 17:30:43 +01:00 коммит произвёл GitHub
Родитель 35910b71f4
Коммит c3fa65a30e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 0 добавлений и 39 удалений

Просмотреть файл

@ -31,7 +31,6 @@ dry_run:
- sql/moz-fx-data-shared-prod/app_store_external/**/*.sql
- sql/moz-fx-data-shared-prod/app_store/**/*.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/bigquery_usage_v2/query.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/deletion_request_volume_v1/query.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/schema_error_counts_v1/view.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/schema_error_counts_v2/query.sql
- sql/moz-fx-data-shared-prod/monitoring_derived/suggest_impression_rate_v1/init.sql

Просмотреть файл

@ -1,25 +0,0 @@
---
friendly_name: Deletion Request Volume
description: >
A daily count of deletion request pings by document namespace
owners:
- akomar@mozilla.com
labels:
schedule: daily
scheduling:
dag_name: bqetl_deletion_request_volume
referenced_tables:
- ['moz-fx-data-shared-prod',
'monitoring',
'payload_bytes_decoded_structured']
- ['moz-fx-data-shared-prod',
'monitoring',
'payload_bytes_decoded_stub_installer']
- ['moz-fx-data-shared-prod',
'monitoring',
'payload_bytes_decoded_telemetry']
bigquery:
time_partitioning:
type: day
field: submission_date
require_partition_filter: false

Просмотреть файл

@ -1,13 +0,0 @@
SELECT
DATE(submission_timestamp) AS submission_date,
REPLACE(metadata.document_namespace, '-', '_') AS dataset_id,
COUNT(*) AS num_rows,
FROM
monitoring.payload_bytes_decoded_all
WHERE
DATE(submission_timestamp) < CURRENT_DATE
AND (@submission_date IS NULL OR @submission_date = DATE(submission_timestamp))
AND metadata.document_type = 'deletion-request'
GROUP BY
submission_date,
dataset_id