From fa4119fa62e4995fbb1ab85b2606246ce13c2986 Mon Sep 17 00:00:00 2001 From: Jeff Klukas Date: Wed, 14 Apr 2021 17:10:44 -0400 Subject: [PATCH] Update contributes_to_2021_kpi values (#1957) * Update contributes_to_2021_kpi values We are tracking a more limited set of mobile apps for 2021: - Firefox for Android - Firefox for iOS - Firefox Focus for Android - Firefox Focus for iOS * Mark Lockwise for iOS as false --- sql/mozfun/norm/product_info/README.md | 8 ++++---- sql/mozfun/norm/product_info/udf.sql | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sql/mozfun/norm/product_info/README.md b/sql/mozfun/norm/product_info/README.md index 1a8b9a6c52..8a1bf43330 100644 --- a/sql/mozfun/norm/product_info/README.md +++ b/sql/mozfun/norm/product_info/README.md @@ -8,13 +8,13 @@ Fennec | Android | fennec | Fennec | Firefox Firefox Preview | Android | firefox_preview | Firefox Preview | Firefox Preview for Android | true | true | true Fennec | iOS | firefox_ios | Firefox iOS | Firefox for iOS | true | true | true FirefoxForFireTV | Android | firefox_fire_tv | Firefox Fire TV | Firefox for Fire TV | false | false | false -FirefoxConnect | Android | firefox_connect | Firefox Echo | Firefox for Echo Show | true | true | true -Zerda | Android | firefox_lite | Firefox Lite | Firefox Lite | true | true | true +FirefoxConnect | Android | firefox_connect | Firefox Echo | Firefox for Echo Show | true | true | false +Zerda | Android | firefox_lite | Firefox Lite | Firefox Lite | true | true | false Zerda_cn | Android | firefox_lite_cn | Firefox Lite CN | Firefox Lite (China) | false | false | false Focus | Android | focus_android | Focus Android | Firefox Focus for Android | true | true | true Focus | iOS | focus_ios | Focus iOS | Firefox Focus for iOS | true | true | true Klar | Android | klar_android | Klar Android | Firefox Klar for Android | false | false | false Klar | iOS | klar_ios | Klar iOS | Firefox Klar for iOS | false | false | false -Lockbox | Android | lockwise_android | Lockwise Android | Lockwise for Android | true | true | true -Lockbox | iOS | lockwise_ios | Lockwise iOS | Lockwise for iOS | true | true | true +Lockbox | Android | lockwise_android | Lockwise Android | Lockwise for Android | true | true | false +Lockbox | iOS | lockwise_ios | Lockwise iOS | Lockwise for iOS | true | true | false FirefoxReality* | Android | firefox_reality | Firefox Reality | Firefox Reality | false | false | false diff --git a/sql/mozfun/norm/product_info/udf.sql b/sql/mozfun/norm/product_info/udf.sql index 5f39134a14..750c8b3493 100644 --- a/sql/mozfun/norm/product_info/udf.sql +++ b/sql/mozfun/norm/product_info/udf.sql @@ -104,7 +104,7 @@ RETURNS STRUCT< "Firefox for Echo Show" AS canonical_name, TRUE AS contributes_to_2019_kpi, TRUE AS contributes_to_2020_kpi, - TRUE AS contributes_to_2021_kpi + FALSE AS contributes_to_2021_kpi ) WHEN legacy_app_name LIKE "Zerda" @@ -117,7 +117,7 @@ RETURNS STRUCT< "Firefox Lite" AS canonical_name, TRUE AS contributes_to_2019_kpi, TRUE AS contributes_to_2020_kpi, - TRUE AS contributes_to_2021_kpi + FALSE AS contributes_to_2021_kpi ) WHEN legacy_app_name LIKE "Zerda_cn" @@ -195,7 +195,7 @@ RETURNS STRUCT< "Lockwise for Android" AS canonical_name, TRUE AS contributes_to_2019_kpi, TRUE AS contributes_to_2020_kpi, - TRUE AS contributes_to_2021_kpi + FALSE AS contributes_to_2021_kpi ) WHEN legacy_app_name LIKE "Lockbox" @@ -208,7 +208,7 @@ RETURNS STRUCT< "Lockwise for iOS" AS canonical_name, TRUE AS contributes_to_2019_kpi, TRUE AS contributes_to_2020_kpi, - TRUE AS contributes_to_2021_kpi + FALSE AS contributes_to_2021_kpi ) WHEN legacy_app_name LIKE "FirefoxReality%" @@ -260,7 +260,7 @@ RETURNS STRUCT< "Firefox for Echo Show" AS canonical_name, TRUE AS contributes_to_2019_kpi, TRUE AS contributes_to_2020_kpi, - TRUE AS contributes_to_2021_kpi + FALSE AS contributes_to_2021_kpi ) WHEN legacy_app_name LIKE "Firefox Lite" @@ -273,7 +273,7 @@ RETURNS STRUCT< "Firefox Lite" AS canonical_name, TRUE AS contributes_to_2019_kpi, TRUE AS contributes_to_2020_kpi, - TRUE AS contributes_to_2021_kpi + FALSE AS contributes_to_2021_kpi ) WHEN legacy_app_name LIKE "Firefox Lite CN" @@ -351,7 +351,7 @@ RETURNS STRUCT< "Lockwise for Android" AS canonical_name, TRUE AS contributes_to_2019_kpi, TRUE AS contributes_to_2020_kpi, - TRUE AS contributes_to_2021_kpi + FALSE AS contributes_to_2021_kpi ) WHEN legacy_app_name LIKE "Lockwise iOS" @@ -364,7 +364,7 @@ RETURNS STRUCT< "Lockwise for iOS" AS canonical_name, TRUE AS contributes_to_2019_kpi, TRUE AS contributes_to_2020_kpi, - TRUE AS contributes_to_2021_kpi + FALSE AS contributes_to_2021_kpi ) WHEN legacy_app_name LIKE "Firefox Reality" @@ -422,7 +422,7 @@ SELECT assert.equals('Lockwise for iOS', b.canonical_name), assert.equals('Lockwise for iOS', b.canonical_app_name), assert.true(b.contributes_to_2020_kpi), - assert.true(b.contributes_to_2021_kpi), + assert.false(b.contributes_to_2021_kpi), FROM b;