From e98793c17f79436aab6901e587d82184120fe47e Mon Sep 17 00:00:00 2001 From: Yiannis Foukarakis Date: Wed, 3 May 2023 11:57:06 +0000 Subject: [PATCH] MM-52617: remove blapi features model and explore --- models/data_warehouse.model.lkml | 7 -- views/blapi/features.view.lkml | 137 ------------------------------- 2 files changed, 144 deletions(-) delete mode 100644 views/blapi/features.view.lkml diff --git a/models/data_warehouse.model.lkml b/models/data_warehouse.model.lkml index 6a16cc3d..8290afc1 100644 --- a/models/data_warehouse.model.lkml +++ b/models/data_warehouse.model.lkml @@ -1694,13 +1694,6 @@ explore: CUSTOMERS { } -explore: FEATURES { - hidden: yes - group_label: "Billing & Licensing" - description: "Contains a list of features provided by varioius Mattermost SKU's." - label: "Features" -} - explore: INVOICES { group_label: "Billing & Licensing" description: "Contains all invoices for Mattermost Cloud customers." diff --git a/views/blapi/features.view.lkml b/views/blapi/features.view.lkml deleted file mode 100644 index c43df61a..00000000 --- a/views/blapi/features.view.lkml +++ /dev/null @@ -1,137 +0,0 @@ -# This is the view file for the analytics.blapi.FEATURES table. -view: FEATURES { - sql_table_name: blapi.FEATURES ;; - view_label: "Features" - - # FILTERS - - # DIMENSIONS - dimension: id { - description: "" - type: string - sql: ${TABLE}.id ;; - hidden: no - primary_key: yes - } - - dimension: state { - description: "" - type: string - sql: ${TABLE}.state ;; - hidden: no - } - - dimension: version_id { - description: "" - type: string - sql: ${TABLE}.version_id ;; - hidden: no - } - - dimension: previous_version_id { - description: "" - type: string - sql: ${TABLE}.previous_version_id ;; - hidden: no - } - - dimension: name { - description: "" - type: string - sql: ${TABLE}.name ;; - hidden: no - } - - dimension: display_name { - description: "" - type: string - sql: ${TABLE}.display_name ;; - hidden: no - } - - dimension: description { - description: "" - type: string - sql: ${TABLE}.description ;; - hidden: no - } - - dimension: _sdc_deleted_at { - description: "" - type: string - sql: ${TABLE}._sdc_deleted_at ;; - hidden: no - } - - - # DIMENSION GROUPS/DATES - dimension_group: created_at { - description: "" - type: time - timeframes: [time, week, date, month, year, fiscal_quarter, fiscal_year] - sql: ${TABLE}.created_at ;; - hidden: no - } - - dimension_group: updated_at { - description: "" - type: time - timeframes: [time, week, date, month, year, fiscal_quarter, fiscal_year] - sql: ${TABLE}.updated_at ;; - hidden: no - } - - dimension_group: deleted_at { - description: "" - type: time - timeframes: [time, week, date, month, year, fiscal_quarter, fiscal_year] - sql: ${TABLE}.deleted_at ;; - hidden: no - } - - dimension_group: _sdc_extracted_at { - description: "" - type: time - timeframes: [time, week, date, month, year, fiscal_quarter, fiscal_year] - sql: ${TABLE}._sdc_extracted_at ;; - hidden: yes - } - - dimension_group: _sdc_batched_at { - description: "" - type: time - timeframes: [time, week, date, month, year, fiscal_quarter, fiscal_year] - sql: ${TABLE}._sdc_batched_at ;; - hidden: yes - } - - - # MEASURES - measure: count { - description: "Count of rows/occurrences." - type: count - } - - measure: id_count { - label: " Id Count" - description: "The distinct count of Feature Id's within each grouping." - type: count_distinct - sql: ${id} ;; - } - - measure: version_count { - label: " Version Count" - description: "The distinct count of Features Version Id's within each grouping." - type: count_distinct - sql: ${version_id} ;; - } - - measure: previous_version_count { - label: " Previous Version Count" - description: "The distinct count of Features Previous Version Id's within each grouping." - type: count_distinct - sql: ${previous_version_id} ;; - } - - -}