From 4f1a1c422106cdb843586ccc94791b8cb2ff0b6d Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Tue, 13 Feb 2024 09:07:51 +0000 Subject: [PATCH 1/8] update to group_by this pr updates the the exports code example to 'group_by' and not 'group_bys'. it also update the saved queries parameter too. --- website/docs/docs/use-dbt-semantic-layer/exports.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/exports.md b/website/docs/docs/use-dbt-semantic-layer/exports.md index e7cb767723f..10a9f78e2ad 100644 --- a/website/docs/docs/use-dbt-semantic-layer/exports.md +++ b/website/docs/docs/use-dbt-semantic-layer/exports.md @@ -50,9 +50,9 @@ saved_queries: query_params: metrics: - YOUR_METRIC_NAME - group_bys: + group_by: - TimeDimension() - - ... # Additional group_bys + - ... # Additional group_by where: - ... # Additional where clauses exports: From b93bc99f9c457c2d1625680d75a6df5d646faa51 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Tue, 13 Feb 2024 09:09:36 +0000 Subject: [PATCH 2/8] Update saved-queries.md --- website/docs/docs/build/saved-queries.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/docs/build/saved-queries.md b/website/docs/docs/build/saved-queries.md index df4fe2b3e0e..4083d2fb6b8 100644 --- a/website/docs/docs/build/saved-queries.md +++ b/website/docs/docs/build/saved-queries.md @@ -50,13 +50,13 @@ To define a saved query, refer to the following parameters: | `description` | String | Required | A description of the saved query. | | `query_params` | Structure | Required | Contains the query parameters. | | `query_params::metrics` | List or String | Optional | A list of the metrics to be used in the query as specified in the command line interface. | -| `query_params::group_bys` | List or String | Optional | A list of the Entities and Dimensions to be used in the query, which include the `Dimension` or `TimeDimension`. | -| `query_params::where` | List or String | Optional | A list of string which may include the `Dimension` or `TimeDimension` objects. | -| `exports` | List or Structure | Optional | A list of exports to be specified with the exports structure. | +| `query_params::group_by` | List or String | Optional | A list of the Entities and Dimensions to be used in the query, which include the `Dimension` or `TimeDimension`. | +| `query_params::where` | List or String | Optional | A list of strings that may include the `Dimension` or `TimeDimension` objects. | +| `exports` | List or Structure | Optional | A list of exports to be specified within the exports structure. | | `exports::name` | String | Required | Name of the export object. | | `exports::config` | List or Structure | Required | A config section for any parameters specifying the export. | | `exports::config::export_as` | String | Required | The type of export to run. Options include table or view currently and cache in the near future. | -| `exports::config::schema` | String | Optional | The schema used for creating the table or view. This option cannot be used for caching. | +| `exports::config::schema` | String | Optional | The schema for creating the table or view. This option cannot be used for caching. | | `exports::config::alias` | String | Optional | The table alias to use to write the table or view. This option cannot be used for caching. | All metrics in a saved query need to use the same dimensions in the `group_by` or `where` clauses. From 2f37767d48bd8fa4943ab8f92213b90e37031b15 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Tue, 13 Feb 2024 10:35:11 +0000 Subject: [PATCH 3/8] test --- website/docs/docs/use-dbt-semantic-layer/exports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/exports.md b/website/docs/docs/use-dbt-semantic-layer/exports.md index 10a9f78e2ad..bb19782acc1 100644 --- a/website/docs/docs/use-dbt-semantic-layer/exports.md +++ b/website/docs/docs/use-dbt-semantic-layer/exports.md @@ -4,7 +4,7 @@ description: "Use exports to materialize tables to the data platform on a schedu sidebar_label: "Materialize with exports" --- -# Materialize queries with exports +# Materialize queries with exports The exports feature in the dbt Semantic Layer enhances the [saved queries](/docs/build/saved-queries) by allowing you to materialize commonly used queries directly within your data platform. From 56ba86195e20dd78b5b0133340e6462464d5ac67 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Tue, 13 Feb 2024 10:35:24 +0000 Subject: [PATCH 4/8] test --- website/docs/docs/use-dbt-semantic-layer/exports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/exports.md b/website/docs/docs/use-dbt-semantic-layer/exports.md index bb19782acc1..5251c962d54 100644 --- a/website/docs/docs/use-dbt-semantic-layer/exports.md +++ b/website/docs/docs/use-dbt-semantic-layer/exports.md @@ -4,7 +4,7 @@ description: "Use exports to materialize tables to the data platform on a schedu sidebar_label: "Materialize with exports" --- -# Materialize queries with exports +### Materialize queries with exports The exports feature in the dbt Semantic Layer enhances the [saved queries](/docs/build/saved-queries) by allowing you to materialize commonly used queries directly within your data platform. From ef7f8fecc753ed68ba78aed9516f908cc375a14a Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Tue, 13 Feb 2024 10:59:49 +0000 Subject: [PATCH 5/8] Update website/docs/docs/use-dbt-semantic-layer/exports.md --- website/docs/docs/use-dbt-semantic-layer/exports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/exports.md b/website/docs/docs/use-dbt-semantic-layer/exports.md index 5251c962d54..7ad565d41c7 100644 --- a/website/docs/docs/use-dbt-semantic-layer/exports.md +++ b/website/docs/docs/use-dbt-semantic-layer/exports.md @@ -4,7 +4,7 @@ description: "Use exports to materialize tables to the data platform on a schedu sidebar_label: "Materialize with exports" --- -### Materialize queries with exports +# Materialize queries with exports The exports feature in the dbt Semantic Layer enhances the [saved queries](/docs/build/saved-queries) by allowing you to materialize commonly used queries directly within your data platform. From 53791c437582cd5db556a310dd0859b8fc39e97c Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Tue, 13 Feb 2024 11:18:56 +0000 Subject: [PATCH 6/8] test --- website/docs/docs/use-dbt-semantic-layer/exports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/exports.md b/website/docs/docs/use-dbt-semantic-layer/exports.md index 7ad565d41c7..5251c962d54 100644 --- a/website/docs/docs/use-dbt-semantic-layer/exports.md +++ b/website/docs/docs/use-dbt-semantic-layer/exports.md @@ -4,7 +4,7 @@ description: "Use exports to materialize tables to the data platform on a schedu sidebar_label: "Materialize with exports" --- -# Materialize queries with exports +### Materialize queries with exports The exports feature in the dbt Semantic Layer enhances the [saved queries](/docs/build/saved-queries) by allowing you to materialize commonly used queries directly within your data platform. From d0bd80cd0117a5aa40d55e118a3b6e5a6a773cd7 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Tue, 13 Feb 2024 11:38:11 +0000 Subject: [PATCH 7/8] Update website/docs/docs/use-dbt-semantic-layer/exports.md --- website/docs/docs/use-dbt-semantic-layer/exports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/exports.md b/website/docs/docs/use-dbt-semantic-layer/exports.md index 5251c962d54..4e9db134167 100644 --- a/website/docs/docs/use-dbt-semantic-layer/exports.md +++ b/website/docs/docs/use-dbt-semantic-layer/exports.md @@ -4,7 +4,7 @@ description: "Use exports to materialize tables to the data platform on a schedu sidebar_label: "Materialize with exports" --- -### Materialize queries with exports +### Materialize queries with exports The exports feature in the dbt Semantic Layer enhances the [saved queries](/docs/build/saved-queries) by allowing you to materialize commonly used queries directly within your data platform. From c65bc82c847400eb42130b049291b47508c24c73 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:56:14 +0000 Subject: [PATCH 8/8] Update website/docs/docs/use-dbt-semantic-layer/exports.md Co-authored-by: Ly Nguyen <107218380+nghi-ly@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/exports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/exports.md b/website/docs/docs/use-dbt-semantic-layer/exports.md index 4e9db134167..eaf5db16439 100644 --- a/website/docs/docs/use-dbt-semantic-layer/exports.md +++ b/website/docs/docs/use-dbt-semantic-layer/exports.md @@ -4,7 +4,7 @@ description: "Use exports to materialize tables to the data platform on a schedu sidebar_label: "Materialize with exports" --- -### Materialize queries with exports +# Materialize queries with exports The exports feature in the dbt Semantic Layer enhances the [saved queries](/docs/build/saved-queries) by allowing you to materialize commonly used queries directly within your data platform.