-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Exposure updated format (#175) * Changed exposure format (lowercased name, deduped depends_on). * Change where the lowercasing happens. * Hyphens are no longer allowed. * Updated comment. * Revert useless formatting * Set comprehension for deduping * Lowercase all exposure names in tests --------- Co-authored-by: Elon Gliksberg <[email protected]>
- Loading branch information
Showing
3 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
version: 2 | ||
exposures: | ||
- name: Customers__Sum_of_Number_Of_Orders_and_Average_of_Number_Of_Orders__Grouped_by_Most_Recent_Order__day_ | ||
- name: customers__sum_of_number_of_orders_and_average_of_number_of_orders__grouped_by_most_recent_order__day_ | ||
label: Customers, Sum of Number Of Orders and Average of Number Of Orders, Grouped | ||
by Most Recent Order (day) | ||
description: '### Visualization: Line | ||
|
@@ -24,7 +24,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Orders__Count | ||
- name: orders__count | ||
label: Orders, Count | ||
description: '### Visualization: Scalar | ||
|
@@ -47,7 +47,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('orders') | ||
- name: A_look_at_your_customers_table | ||
- name: a_look_at_your_customers_table | ||
label: A look at your customers table | ||
description: '### Dashboard Cards: 18 | ||
|
@@ -70,7 +70,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Customer_lifetime_value_over_time | ||
- name: customer_lifetime_value_over_time | ||
label: Customer_lifetime_value over time | ||
description: '### Visualization: Line | ||
|
@@ -93,7 +93,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Customer_lifetime_value_over_time_1 | ||
- name: customer_lifetime_value_over_time_1 | ||
label: Customer_lifetime_value over time | ||
description: '### Visualization: Line | ||
|
@@ -116,7 +116,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Customers_added_in_the_last_30_days | ||
- name: customers_added_in_the_last_30_days | ||
label: Customers added in the last 30 days | ||
description: '### Visualization: Scalar | ||
|
@@ -139,7 +139,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Customers_added_in_the_last_30_days_1 | ||
- name: customers_added_in_the_last_30_days_1 | ||
label: Customers added in the last 30 days | ||
description: '### Visualization: Scalar | ||
|
@@ -162,7 +162,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Customers_by_customer_lifetime_value | ||
- name: customers_by_customer_lifetime_value | ||
label: Customers by customer_lifetime_value | ||
description: '### Visualization: Bar | ||
|
@@ -185,7 +185,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Customers_by_number_of_orders | ||
- name: customers_by_number_of_orders | ||
label: Customers by number_of_orders | ||
description: '### Visualization: Bar | ||
|
@@ -208,7 +208,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Number_of_orders_over_time | ||
- name: number_of_orders_over_time | ||
label: Number_of_orders over time | ||
description: '### Visualization: Line | ||
|
@@ -231,7 +231,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Number_of_orders_over_time_1 | ||
- name: number_of_orders_over_time_1 | ||
label: Number_of_orders over time | ||
description: '### Visualization: Line | ||
|
@@ -254,7 +254,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Timestamp_by_day_of_the_week | ||
- name: timestamp_by_day_of_the_week | ||
label: Timestamp by day of the week | ||
description: '### Visualization: Bar | ||
|
@@ -277,7 +277,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Timestamp_by_day_of_the_week_1 | ||
- name: timestamp_by_day_of_the_week_1 | ||
label: Timestamp by day of the week | ||
description: '### Visualization: Bar | ||
|
@@ -300,7 +300,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Timestamp_by_month_of_the_year | ||
- name: timestamp_by_month_of_the_year | ||
label: Timestamp by month of the year | ||
description: '### Visualization: Bar | ||
|
@@ -323,7 +323,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Timestamp_by_month_of_the_year_1 | ||
- name: timestamp_by_month_of_the_year_1 | ||
label: Timestamp by month of the year | ||
description: '### Visualization: Bar | ||
|
@@ -346,7 +346,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Timestamp_by_quarter_of_the_year | ||
- name: timestamp_by_quarter_of_the_year | ||
label: Timestamp by quarter of the year | ||
description: '### Visualization: Bar | ||
|
@@ -369,7 +369,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Timestamp_by_quarter_of_the_year_1 | ||
- name: timestamp_by_quarter_of_the_year_1 | ||
label: Timestamp by quarter of the year | ||
description: '### Visualization: Bar | ||
|
@@ -392,7 +392,7 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('customers') | ||
- name: Total_customers | ||
- name: total_customers | ||
label: Total customers | ||
description: '### Visualization: Scalar | ||
|