File tree Expand file tree Collapse file tree 5 files changed +64
-0
lines changed
sql/moz-fx-data-shared-prod
firefox_desktop_derived/fx_privacy_dau_agg_v1
firefox_desktop/fx_privacy_dau_agg Expand file tree Collapse file tree 5 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ friendly_name : Firefox Privacy Dashboard - DAU interracting with the privacy panel
2+ description : |-
3+ DAU interacting with the privacy panel
4+ owners :
5+ 6+ labels :
7+ owner : kwindau
8+ require_column_descriptions : false
Original file line number Diff line number Diff line change 1+ CREATE OR REPLACE VIEW
2+ ` moz-fx-data-shared-prod.firefox_desktop.fx_privacy_dau_agg`
3+ AS
4+ SELECT
5+ *
6+ FROM
7+ ` moz-fx-data-shared-prod.firefox_desktop_derived.fx_privacy_dau_agg_v1`
Original file line number Diff line number Diff line change 1+ friendly_name : Firefox Privacy Dashboard - DAU interracting with the privacy panel
2+ description : |-
3+ DAU interacting with the privacy panel
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
Original file line number Diff line number Diff line change 1+ SELECT
2+ event_name AS event_object,
3+ DATE (submission_timestamp) AS submission_date,
4+ COUNT (* ) AS nbr_events,
5+ COUNT (DISTINCT client_id) AS nbr_distinct_users,
6+ FROM
7+ ` moz-fx-data-shared-prod.firefox_desktop.events_stream`
8+ WHERE
9+ event_category = ' security.ui.protectionspopup'
10+ AND DATE (submission_timestamp) = @submission_date
11+ GROUP BY
12+ event_name,
13+ DATE (submission_timestamp)
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 : event_object
8+ type : STRING
9+ description : Submission Date
10+ - mode : NULLABLE
11+ name : nbr_events
12+ type : INTEGER
13+ description : Number of events
14+ - name : nbr_distinct_users
15+ type : INTEGER
16+ mode : NULLABLE
17+ description : Number of distinct users
You can’t perform that action at this time.
0 commit comments