File tree Expand file tree Collapse file tree 4 files changed +53
-0
lines changed
sql/moz-fx-data-shared-prod
firefox_desktop_derived/fx_cert_error_unique_users_normalized_channel_v1
firefox_desktop/fx_cert_error_unique_users_normalized_channel Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ CREATE OR REPLACE VIEW
2+ ` moz-fx-data-shared-prod.firefox_desktop.fx_cert_error_unique_users_normalized_channel`
3+ AS
4+ SELECT
5+ *
6+ FROM
7+ ` moz-fx-data-shared-prod.firefox_desktop_derived.fx_cert_error_unique_users_normalized_channel_v1`
Original file line number Diff line number Diff line change 1+ friendly_name : Firefox Cert Error Dashboard - Unique users by normalized channel
2+ description : |-
3+ Unique users experiencing cert error page per day per channel
4+ owners :
5+ 6+ labels :
7+ incremental : true
8+ owner1 : kwindau
9+ table_type : aggregate
10+ shredder_mitigation : true
11+ scheduling :
12+ dag_name : bqetl_fx_cert_error_privacy_dashboard
13+ bigquery :
14+ time_partitioning :
15+ type : day
16+ field : submission_date
17+ require_partition_filter : false
18+ expiration_days : null
19+ range_partitioning : null
20+ require_column_descriptions : true
Original file line number Diff line number Diff line change 1+ SELECT
2+ DATE (submission_timestamp) AS submission_date,
3+ normalized_channel,
4+ COUNT (DISTINCT client_id) AS nbr_unique_users
5+ FROM
6+ ` moz-fx-data-shared-prod.firefox_desktop.events_stream`
7+ WHERE
8+ event_category = ' security.ui.certerror'
9+ AND event_name = ' load_aboutcerterror'
10+ AND DATE (submission_timestamp) = @submission_date
11+ GROUP BY
12+ DATE (submission_timestamp),
13+ normalized_channel
Original file line number Diff line number Diff line change 1+ fields :
2+ - mode : NULLABLE
3+ name : submission_date
4+ type : DATE
5+ description : Submission Date
6+ - mode : NULLABLE
7+ name : normalized_channel
8+ type : STRING
9+ description : Normalized Channel
10+ - name : nbr_unique_users
11+ type : INTEGER
12+ mode : NULLABLE
13+ description : Number of Unique users (distinct client ids)
You can’t perform that action at this time.
0 commit comments