From 790b77eb3af9da8ee7d118788f3a3a8517bb5ce6 Mon Sep 17 00:00:00 2001 From: john-rock Date: Tue, 18 Jul 2023 15:18:48 -0400 Subject: [PATCH 01/30] add workflow file --- .github/workflows/repo-sync.yml | 95 +++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 .github/workflows/repo-sync.yml diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml new file mode 100644 index 00000000000..ce12e6eda02 --- /dev/null +++ b/.github/workflows/repo-sync.yml @@ -0,0 +1,95 @@ +name: Repo Sync + +# **What it does**: Syncs docs.getdbt.com public repo into the docs private repo +# This GitHub Actions workflow keeps the `current` branch of those two repos in sync. +# **Why we have it**: To keep the open-source repository up-to-date +# while still having an internal repository for sensitive work. +# For more details, see https://github.com/repo-sync/repo-sync#how-it-works + +on: + schedule: + - cron: '*/15 * * * *' # Run every 15 minutes + +jobs: + repo-sync: + permissions: + contents: write + pull-requests: write + name: Repo Sync + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + # Use the INTERMEDIATE_BRANCH as the checkout reference + ref: ${{ secrets.INTERMEDIATE_BRANCH }} + token: ${{ secrets.GITHUB_TOKEN }} + # Fetch all history for all branches and tags + fetch-depth: 0 + + # Sync the source repo to the destination branch using repo-sync/github-sync + - uses: repo-sync/github-sync@v2 + name: Sync repo to branch + with: + # Source repository to sync from + source_repo: ${{ secrets.SOURCE_REPO }} + # Source branch to sync from + source_branch: current + # Destination branch to sync to + destination_branch: ${{ secrets.INTERMEDIATE_BRANCH }} + github_token: ${{ secrets.WORKFLOW_TOKEN }} + + - name: Ship pull request + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.WORKFLOW_TOKEN }} + result-encoding: string + script: | + const {owner, repo} = context.repo; + const head = '${{ secrets.INTERMEDIATE_BRANCH }}'; + const base = 'current' + + async function closePullRequest(prNumber) { + console.log('closing PR', prNumber) + await github.rest.pulls.update({ + owner, + repo, + pull_number: prNumber, + state: 'closed' + }); + console.log('closed PR', prNumber) + } + + console.log('Closing any existing PRs') + const { data: existingPRs } = await github.rest.pulls.list({ + owner, + repo, + head, + base, + }); + + for (const pr of existingPRs) { + if (pr.head.ref === head) { + await closePullRequest(pr.number); + } + } + + try { + console.log('Creating new PR') + const { data: newPR } = await github.rest.pulls.create({ + owner, + repo, + head, + base, + title: 'REPO SYNC - Public to Private', + body: 'This is an automated pull request to sync changes between the public and private repos.', + }); + + console.log('Created new PR', newPR) + } catch (err) { + // Don't error/alert if there's no commits to sync + if (err.message?.includes('No commits')) { + console.log(err.message) + return + } + throw err + } From f4f1f1f4ee6929e18901e8529d374044f8ea083d Mon Sep 17 00:00:00 2001 From: john-rock Date: Fri, 21 Jul 2023 13:30:18 -0400 Subject: [PATCH 02/30] merge pr automatically --- .github/workflows/repo-sync.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index ce12e6eda02..2dd7aafece4 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -93,3 +93,31 @@ jobs: } throw err } + + const { data: prFiles } = await github.rest.pulls.listFiles({ owner, repo, pull_number }) + if (prFiles.length) { + console.log(prFiles.length, 'files have changed') + } else { + console.log('No files changed, closing') + await closePullRequest(pull_number) + return + } + + console.log('Checking for merge conflicts') + if (pull.mergeable_state === 'dirty') { + console.log('Pull request has a conflict', pull.html_url) + await closePullRequest(pull_number) + throw new Error('Pull request has a conflict, please resolve manually') + } + console.log('No detected merge conflicts') + + console.log('Merging the pull request') + // Admin merge pull request to avoid squash + await github.rest.pulls.merge({ + owner, + repo, + pull_number, + merge_method: 'merge', + }) + // Error loud here, so no try/catch + console.log('Merged the pull request successfully') From f5106cceb1babdb3792c8218fbf29ba669b74e87 Mon Sep 17 00:00:00 2001 From: john-rock Date: Fri, 21 Jul 2023 14:08:37 -0400 Subject: [PATCH 03/30] add pr var --- .github/workflows/repo-sync.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index ce12e6eda02..a4ddb3d0f40 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -83,6 +83,9 @@ jobs: title: 'REPO SYNC - Public to Private', body: 'This is an automated pull request to sync changes between the public and private repos.', }); + pull = response.data + pull_number = pull.number + console.log('Created pull request successfully', pull.html_url) console.log('Created new PR', newPR) } catch (err) { @@ -93,3 +96,31 @@ jobs: } throw err } + + const { data: prFiles } = await github.rest.pulls.listFiles({ owner, repo, pull_number }) + if (prFiles.length) { + console.log(prFiles.length, 'files have changed') + } else { + console.log('No files changed, closing') + await closePullRequest(pull_number) + return + } + + console.log('Checking for merge conflicts') + if (pull.mergeable_state === 'dirty') { + console.log('Pull request has a conflict', pull.html_url) + await closePullRequest(pull_number) + throw new Error('Pull request has a conflict, please resolve manually') + } + console.log('No detected merge conflicts') + + console.log('Merging the pull request') + // Admin merge pull request to avoid squash + await github.rest.pulls.merge({ + owner, + repo, + pull_number, + merge_method: 'merge', + }) + // Error loud here, so no try/catch + console.log('Merged the pull request successfully') From db5325a3ea996707a845b1b15d98bd9cce3d3ed9 Mon Sep 17 00:00:00 2001 From: john-rock Date: Fri, 21 Jul 2023 14:24:38 -0400 Subject: [PATCH 04/30] adjust call --- .github/workflows/repo-sync.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index a4ddb3d0f40..7728b1099e8 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -67,15 +67,19 @@ jobs: base, }); - for (const pr of existingPRs) { - if (pr.head.ref === head) { - await closePullRequest(pr.number); + console.log('Closing any existing pull requests') + const { data: existingPulls } = await github.rest.pulls.list({ owner, repo, head, base }) + if (existingPulls.length) { + console.log('Found existing pull requests', existingPulls.map(pull => pull.number)) + for (const pull of existingPulls) { + await closePullRequest(pull.number) } + console.log('Closed existing pull requests') } try { console.log('Creating new PR') - const { data: newPR } = await github.rest.pulls.create({ + const response = await github.rest.pulls.create({ owner, repo, head, @@ -87,7 +91,6 @@ jobs: pull_number = pull.number console.log('Created pull request successfully', pull.html_url) - console.log('Created new PR', newPR) } catch (err) { // Don't error/alert if there's no commits to sync if (err.message?.includes('No commits')) { From 54ad4667971f7d8e78551f283ecba6d99ea92577 Mon Sep 17 00:00:00 2001 From: john-rock Date: Fri, 21 Jul 2023 14:28:11 -0400 Subject: [PATCH 05/30] refactor --- .github/workflows/repo-sync.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 7728b1099e8..abda465c5a4 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -59,14 +59,6 @@ jobs: console.log('closed PR', prNumber) } - console.log('Closing any existing PRs') - const { data: existingPRs } = await github.rest.pulls.list({ - owner, - repo, - head, - base, - }); - console.log('Closing any existing pull requests') const { data: existingPulls } = await github.rest.pulls.list({ owner, repo, head, base }) if (existingPulls.length) { From d3e86724f37922389d45eb4b416f2f09a463a5ea Mon Sep 17 00:00:00 2001 From: john-rock Date: Fri, 21 Jul 2023 14:29:26 -0400 Subject: [PATCH 06/30] more refactoring --- .github/workflows/repo-sync.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index abda465c5a4..59e2b0be7ac 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -69,8 +69,9 @@ jobs: console.log('Closed existing pull requests') } + console.log('Creating new PR') + let pull, pull_number try { - console.log('Creating new PR') const response = await github.rest.pulls.create({ owner, repo, From a7b9d3f1c5ad36b02ccc8dfebf25b5a11b3c4994 Mon Sep 17 00:00:00 2001 From: john-rock Date: Fri, 21 Jul 2023 14:51:50 -0400 Subject: [PATCH 07/30] prevent open prs from being closed --- .github/workflows/repo-sync.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 59e2b0be7ac..c87de9fbb2c 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -59,16 +59,6 @@ jobs: console.log('closed PR', prNumber) } - console.log('Closing any existing pull requests') - const { data: existingPulls } = await github.rest.pulls.list({ owner, repo, head, base }) - if (existingPulls.length) { - console.log('Found existing pull requests', existingPulls.map(pull => pull.number)) - for (const pull of existingPulls) { - await closePullRequest(pull.number) - } - console.log('Closed existing pull requests') - } - console.log('Creating new PR') let pull, pull_number try { @@ -110,8 +100,8 @@ jobs: } console.log('No detected merge conflicts') + console.log('Merging the pull request') - // Admin merge pull request to avoid squash await github.rest.pulls.merge({ owner, repo, From 8fba60e54053f65733c3de48eb5665147e164528 Mon Sep 17 00:00:00 2001 From: Ly Nguyen Date: Mon, 31 Jul 2023 09:04:01 -0700 Subject: [PATCH 08/30] Test commit --- website/docs/docs/about-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/about-setup.md b/website/docs/docs/about-setup.md index 3fb868b8448..db3cd749190 100644 --- a/website/docs/docs/about-setup.md +++ b/website/docs/docs/about-setup.md @@ -5,7 +5,7 @@ description: "About setup of dbt Core and Cloud" sidebar_label: "About dbt setup" --- -dbt compiles and runs your analytics code against your data platform, enabling you and your team to collaborate on a single source of truth for metrics, insights, and business definitions. There are two options for deploying dbt: +dbt compiles and runs your analytics code against your data platform, enabling you and your team to collaborate on a single source of truth for metrics, insights, and business definitions. There are two options for using dbt: **dbt Cloud** runs dbt Core in a hosted (single or multi-tenant) environment with a browser-based interface. The intuitive UI will aid you in setting up the various components. dbt Cloud comes equipped with turnkey support for scheduling jobs, CI/CD, hosting documentation, monitoring & alerting, and an integrated developer environment (IDE). From 67755e6f7ac238edf3ca85ee12d5dee00226ade5 Mon Sep 17 00:00:00 2001 From: Ly Nguyen Date: Mon, 31 Jul 2023 09:11:27 -0700 Subject: [PATCH 09/30] Undo test commit --- website/docs/docs/about-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/about-setup.md b/website/docs/docs/about-setup.md index db3cd749190..3fb868b8448 100644 --- a/website/docs/docs/about-setup.md +++ b/website/docs/docs/about-setup.md @@ -5,7 +5,7 @@ description: "About setup of dbt Core and Cloud" sidebar_label: "About dbt setup" --- -dbt compiles and runs your analytics code against your data platform, enabling you and your team to collaborate on a single source of truth for metrics, insights, and business definitions. There are two options for using dbt: +dbt compiles and runs your analytics code against your data platform, enabling you and your team to collaborate on a single source of truth for metrics, insights, and business definitions. There are two options for deploying dbt: **dbt Cloud** runs dbt Core in a hosted (single or multi-tenant) environment with a browser-based interface. The intuitive UI will aid you in setting up the various components. dbt Cloud comes equipped with turnkey support for scheduling jobs, CI/CD, hosting documentation, monitoring & alerting, and an integrated developer environment (IDE). From 449acb9f3a0c34400ac36b1b360814bf8886b3dd Mon Sep 17 00:00:00 2001 From: john-rock Date: Tue, 1 Aug 2023 11:08:18 -0400 Subject: [PATCH 10/30] adjust to run 3 times per day --- .github/workflows/repo-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index c87de9fbb2c..981f322c83f 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -8,7 +8,7 @@ name: Repo Sync on: schedule: - - cron: '*/15 * * * *' # Run every 15 minutes + - cron: '0 6,12,18 * * *' # Run at 6:00 AM, 12:00 PM, and 6:00 PM jobs: repo-sync: From 507fa1e7e4e1e1cfacf86fed72ba1dce9918a95d Mon Sep 17 00:00:00 2001 From: john-rock Date: Tue, 1 Aug 2023 11:15:00 -0400 Subject: [PATCH 11/30] small adjustments --- .github/workflows/repo-sync.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 981f322c83f..8f2320217b2 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -96,17 +96,16 @@ jobs: if (pull.mergeable_state === 'dirty') { console.log('Pull request has a conflict', pull.html_url) await closePullRequest(pull_number) - throw new Error('Pull request has a conflict, please resolve manually') + throw new Error('PR has a conflict, please resolve manually') } console.log('No detected merge conflicts') - console.log('Merging the pull request') + console.log('Merging the PR') await github.rest.pulls.merge({ owner, repo, pull_number, merge_method: 'merge', }) - // Error loud here, so no try/catch - console.log('Merged the pull request successfully') + console.log('Merged the PR successfully') From 6e22f135f819fa201b1a30ce374330fb36a636e8 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Thu, 5 Oct 2023 13:00:54 +0100 Subject: [PATCH 12/30] add gsheets and update sidebar per roxi --- .../avail-sl-integrations.md | 17 ++++--- .../docs/use-dbt-semantic-layer/gsheets.md | 51 +++++++++++++++++++ website/sidebars.js | 10 +++- website/snippets/_sl-partner-links.md | 34 +++++++++---- 4 files changed, 95 insertions(+), 17 deletions(-) create mode 100644 website/docs/docs/use-dbt-semantic-layer/gsheets.md diff --git a/website/docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md b/website/docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md index b084dedc305..dad8c505bc7 100644 --- a/website/docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md +++ b/website/docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md @@ -4,6 +4,7 @@ id: avail-sl-integrations description: "Discover the diverse range of partners that seamlessly integrate with the powerful dbt Semantic Layer, allowing you to query and unlock valuable insights from your data ecosystem." tags: [Semantic Layer] sidebar_label: "Available integrations" +hide_table_of_contents: true meta: api_name: dbt Semantic Layer APIs --- @@ -19,21 +20,23 @@ There are a number of data applications that seamlessly integrate with the dbt S Use the [dbt Semantic Layer APIs](/docs/dbt-cloud-apis/sl-api-overview) to simplify metric queries, optimize your development workflow, and reduce coding. This approach also ensures data governance and consistency for data consumers. - - - import AvailIntegrations from '/snippets/_sl-partner-links.md'; -### Custom integration +## Custom integration -You can create custom integrations using different languages and tools. We support connecting with JDBC, ADBC, and a GraphQL API. For more info, check out [our examples on GitHub](https://github.com/dbt-labs/example-semantic-layer-clients/). +- You can create custom integrations using different languages and tools. We support connecting with JDBC, ADBC, and a GraphQL APIs. For more info, check out [our examples on GitHub](https://github.com/dbt-labs/example-semantic-layer-clients/). +- You can also connect to tools that allow you to write SQL. These tools must meet one of the two criteria: + + - Supports a generic JDBC driver option (such as DataGrip) or + - Supports Dremio and uses ArrowFlightSQL driver version 12.0.0 or higher. ## Related docs -- {frontMatter.meta.api_name} to learn how to integrate with JDBC and GraphQL to query your metrics in downstream tools. -- [dbt Semantic Layer APIs query syntax](/docs/dbt-cloud-apis/sl-jdbc#querying-the-api-for-metric-metadata) +- {frontMatter.meta.api_name} to learn how to integrate and query your metrics in downstream tools. +- [dbt Semantic Layer API query syntax](/docs/dbt-cloud-apis/sl-jdbc#querying-the-api-for-metric-metadata) +- [Hex nd dbt Semantic Layer cells](https://learn.hex.tech/docs/logic-cell-types/transform-cells/dbt-metrics-cells) to set up SQL cells in Hex. diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md new file mode 100644 index 00000000000..df4a665243c --- /dev/null +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -0,0 +1,51 @@ +--- +title: "Google Sheets (beta)" +description: "Integrate with Google Sheets to query your metrics in a spreadsheet." +tags: [Semantic Layer] +sidebar_label: "Google Sheets (beta)" +--- + + +The dbt Semantic Layer offers a seamless integration with Google Sheets through a custom menu. This add-on allows you to build dbt Semantic Layer queries and return data on your metrics directly within Google Sheet. + +## Prerequisites + +1. You have a Google account with access to Google Sheets +2. You have the ability to install Google Add-ons +3. You have [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) +4. You have a dbt Cloud Environment Id and a [service token](/docs/dbt-cloud-apis/service-tokens) to authenticate with from a dbt Cloud account + +## Installing the add-on + +1. In Google Sheets, navigate to [**Extensions -> Add-on -> Get add-ons**](https://support.google.com/docs/answer/2942256?hl=en&co=GENIE.Platform%3DDesktop&oco=0#zippy=%2Cinstall-add-ons%2Cinstall-an-add-on). +2. Search for "dbt Semantic Layer for Sheets" and install it +3. After installing, access it by opening the Add-On menu and finding "dbt Semantic Layer for Sheets". This will open a custom menu to the right hand side of your screen. +4. Authenticate with the dbt Cloud Environment Id and Service Token +5. Start querying your metrics using the **Query Builder**! Refer to [Custom menu key functions](#custom-menu-key-functions) for more information on its capabilities. + +When querying your data with Google Sheets: + +- It returns the data to the cell you have clicked on +- The custom menu operation has a timeout limit of six (6) minutes. + +## Custom menu key functions + +The custom menu provides the following capabilities: + +| Menu items | Description | +|---------------|-------------------------------------------------------| +| Metrics | Search and select metrics | +| Group By | Search and select dimensions to group by. Dimensions are grouped by the entity of the semantic model they come from. | +| Granularity | Modify granularity of the primary time dimension | +| Where | Filter your data. This includes categorical and time filters. | +| Order By | Return your data ordered | +| Limit | Set a limit for the rows of your output | + + +## Filtering data + +To use the filter functionality, choose the dimension you want to filter by and select the operation you want to filter on. + - If it's a categorical dimension, type in the dimension value you want to filter by (no quotes needed) and press enter. + - Continue adding additional filters as needed with AND and OR. If it's a time dimension, choose the operator and select from the calendar. + +## Saving queries and refreshing data diff --git a/website/sidebars.js b/website/sidebars.js index 8b162f67af3..220f32130da 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -410,8 +410,16 @@ const sidebarSettings = { items: [ "docs/use-dbt-semantic-layer/quickstart-sl", "docs/use-dbt-semantic-layer/setup-sl", - "docs/use-dbt-semantic-layer/avail-sl-integrations", "docs/use-dbt-semantic-layer/sl-architecture", + { + type: "category", + label: "Integrations", + link: { type: "doc", id: "docs/use-dbt-semantic-layer/avail-sl-integrations" }, + items: [ + "docs/use-dbt-semantic-layer/avail-sl-integrations", + //"docs/use-dbt-semantic-layer/gsheets", + ], + }, ], }, { diff --git a/website/snippets/_sl-partner-links.md b/website/snippets/_sl-partner-links.md index e9cc6af3564..fa8146c6418 100644 --- a/website/snippets/_sl-partner-links.md +++ b/website/snippets/_sl-partner-links.md @@ -1,11 +1,27 @@ - -The dbt Semantic Layer integrations are capable of querying dbt metrics, importing definitions, surfacing the underlying data in partner tools, and more. These are the following tools that integrate with the dbt Semantic Layer: +The following tools integrate with the dbt Semantic Layer: + +
+ + + + + + + + +

+ +Before you connect to these tools, you'll need to first [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) and [generate a service token](/docs/dbt-cloud-apis/service-tokens) to create **Semantic Layer Only** and **Metadata Only** permissions. -1. **Mode** — To learn more about integrating with Mode, check out their [documentation](https://mode.com/help/articles/supported-databases/#dbt-semantic-layer) for more info. -2. **Hex** — To learn more about integrating with Hex, check out their [documentation](https://learn.hex.tech/docs/connect-to-data/data-connections/dbt-integration#dbt-semantic-layer-integration) for more info. Additionally, refer to [dbt Semantic Layer cells](https://learn.hex.tech/docs/logic-cell-types/transform-cells/dbt-metrics-cells) to set up SQL cells in Hex. -3. **Google Sheets** — Google Sheets integration coming soon. -4. **Tools that allows you to write SQL** — They must meet one of the two criteria: - * Supports a generic JDBC driver option (such as DataGrip) or - * Supports Dremio and uses ArrowFlightSQL driver version 12.0.0 or higher. -Before you connect to these tools, you'll need to first [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) and [generate a service token](/docs/dbt-cloud-apis/service-tokens) to create a Semantic Layer Only and Metadata Only service token. From 0b5bae9a1ff9b657ed8e99f07533129c540df470 Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Thu, 5 Oct 2023 13:03:27 +0100 Subject: [PATCH 13/30] add link to function --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index df4a665243c..0bc9778f7b9 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -21,8 +21,9 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through 2. Search for "dbt Semantic Layer for Sheets" and install it 3. After installing, access it by opening the Add-On menu and finding "dbt Semantic Layer for Sheets". This will open a custom menu to the right hand side of your screen. 4. Authenticate with the dbt Cloud Environment Id and Service Token -5. Start querying your metrics using the **Query Builder**! Refer to [Custom menu key functions](#custom-menu-key-functions) for more information on its capabilities. - +5. Start querying your metrics using the **Query Builder**! + - For more info on the menu functions, refer to [Custom menu key functions](#custom-menu-key-functions). + When querying your data with Google Sheets: - It returns the data to the cell you have clicked on From a9d1cdc79a5520895c7ab5c94fdbda25818a010d Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 14:12:22 +0100 Subject: [PATCH 14/30] Update sl-partner-integration-guide.md update graphql --- .../docs/guides/dbt-ecosystem/sl-partner-integration-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/guides/dbt-ecosystem/sl-partner-integration-guide.md b/website/docs/guides/dbt-ecosystem/sl-partner-integration-guide.md index 68037bfd0cd..c41469bf08a 100644 --- a/website/docs/guides/dbt-ecosystem/sl-partner-integration-guide.md +++ b/website/docs/guides/dbt-ecosystem/sl-partner-integration-guide.md @@ -20,7 +20,7 @@ This is an evolving guide that is meant to provide recommendations based on our To build a dbt Semantic Layer integration: -- We offer a [JDBC](/docs/dbt-cloud-apis/sl-jdbc) API (and will soon offer a GraphQL API). Refer to the dedicated [dbt Semantic Layer API](/docs/dbt-cloud-apis/sl-api-overview) for more technical integration details. +- We offer a [JDBC](/docs/dbt-cloud-apis/sl-jdbc) API and [GraphQL API](/docs/dbt-cloud-apis/sl-graphql). Refer to the dedicated [dbt Semantic Layer API](/docs/dbt-cloud-apis/sl-api-overview) for more technical integration details. - Familiarize yourself with the [dbt Semantic Layer](/docs/use-dbt-semantic-layer/dbt-sl) and [MetricFlow](/docs/build/about-metricflow)'s key concepts. There are two main objects: From 90d4e2f1903b6351c5877c1d82480e632e5f9a08 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 15:08:25 +0100 Subject: [PATCH 15/30] Update avail-sl-integrations.md Co-authored-by: Devon Fulcher --- .../docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md b/website/docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md index dad8c505bc7..ea5833d586b 100644 --- a/website/docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md +++ b/website/docs/docs/use-dbt-semantic-layer/avail-sl-integrations.md @@ -36,7 +36,7 @@ import AvailIntegrations from '/snippets/_sl-partner-links.md'; - {frontMatter.meta.api_name} to learn how to integrate and query your metrics in downstream tools. - [dbt Semantic Layer API query syntax](/docs/dbt-cloud-apis/sl-jdbc#querying-the-api-for-metric-metadata) -- [Hex nd dbt Semantic Layer cells](https://learn.hex.tech/docs/logic-cell-types/transform-cells/dbt-metrics-cells) to set up SQL cells in Hex. +- [Hex dbt Semantic Layer cells](https://learn.hex.tech/docs/logic-cell-types/transform-cells/dbt-metrics-cells) to set up SQL cells in Hex. From 69f4c31fda4b29307407eae916498b0f3ca5736a Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 15:13:46 +0100 Subject: [PATCH 16/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 1 - 1 file changed, 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index 0bc9778f7b9..875f20f65bb 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -49,4 +49,3 @@ To use the filter functionality, choose the dimension you want to filter by and - If it's a categorical dimension, type in the dimension value you want to filter by (no quotes needed) and press enter. - Continue adding additional filters as needed with AND and OR. If it's a time dimension, choose the operator and select from the calendar. -## Saving queries and refreshing data From 3aec5423d9c109c795b51ca1df096472a9042e58 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:08:11 +0100 Subject: [PATCH 17/30] Delete .github/workflows/repo-sync.yml deleting per @john-rock --- .github/workflows/repo-sync.yml | 111 -------------------------------- 1 file changed, 111 deletions(-) delete mode 100644 .github/workflows/repo-sync.yml diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml deleted file mode 100644 index 8f2320217b2..00000000000 --- a/.github/workflows/repo-sync.yml +++ /dev/null @@ -1,111 +0,0 @@ -name: Repo Sync - -# **What it does**: Syncs docs.getdbt.com public repo into the docs private repo -# This GitHub Actions workflow keeps the `current` branch of those two repos in sync. -# **Why we have it**: To keep the open-source repository up-to-date -# while still having an internal repository for sensitive work. -# For more details, see https://github.com/repo-sync/repo-sync#how-it-works - -on: - schedule: - - cron: '0 6,12,18 * * *' # Run at 6:00 AM, 12:00 PM, and 6:00 PM - -jobs: - repo-sync: - permissions: - contents: write - pull-requests: write - name: Repo Sync - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - # Use the INTERMEDIATE_BRANCH as the checkout reference - ref: ${{ secrets.INTERMEDIATE_BRANCH }} - token: ${{ secrets.GITHUB_TOKEN }} - # Fetch all history for all branches and tags - fetch-depth: 0 - - # Sync the source repo to the destination branch using repo-sync/github-sync - - uses: repo-sync/github-sync@v2 - name: Sync repo to branch - with: - # Source repository to sync from - source_repo: ${{ secrets.SOURCE_REPO }} - # Source branch to sync from - source_branch: current - # Destination branch to sync to - destination_branch: ${{ secrets.INTERMEDIATE_BRANCH }} - github_token: ${{ secrets.WORKFLOW_TOKEN }} - - - name: Ship pull request - uses: actions/github-script@v6 - with: - github-token: ${{ secrets.WORKFLOW_TOKEN }} - result-encoding: string - script: | - const {owner, repo} = context.repo; - const head = '${{ secrets.INTERMEDIATE_BRANCH }}'; - const base = 'current' - - async function closePullRequest(prNumber) { - console.log('closing PR', prNumber) - await github.rest.pulls.update({ - owner, - repo, - pull_number: prNumber, - state: 'closed' - }); - console.log('closed PR', prNumber) - } - - console.log('Creating new PR') - let pull, pull_number - try { - const response = await github.rest.pulls.create({ - owner, - repo, - head, - base, - title: 'REPO SYNC - Public to Private', - body: 'This is an automated pull request to sync changes between the public and private repos.', - }); - pull = response.data - pull_number = pull.number - console.log('Created pull request successfully', pull.html_url) - - } catch (err) { - // Don't error/alert if there's no commits to sync - if (err.message?.includes('No commits')) { - console.log(err.message) - return - } - throw err - } - - const { data: prFiles } = await github.rest.pulls.listFiles({ owner, repo, pull_number }) - if (prFiles.length) { - console.log(prFiles.length, 'files have changed') - } else { - console.log('No files changed, closing') - await closePullRequest(pull_number) - return - } - - console.log('Checking for merge conflicts') - if (pull.mergeable_state === 'dirty') { - console.log('Pull request has a conflict', pull.html_url) - await closePullRequest(pull_number) - throw new Error('PR has a conflict, please resolve manually') - } - console.log('No detected merge conflicts') - - - console.log('Merging the PR') - await github.rest.pulls.merge({ - owner, - repo, - pull_number, - merge_method: 'merge', - }) - console.log('Merged the PR successfully') From 580441b03900ae9c2feeea709d4ada4200daf137 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:34:29 +0100 Subject: [PATCH 18/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index 875f20f65bb..9fead9b6e81 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -5,7 +5,9 @@ tags: [Semantic Layer] sidebar_label: "Google Sheets (beta)" --- - +:::info Beta functionality +Google Sheets integration with the dbt Semantic Layer is a [beta feature](https://docs.getdbt.com/docs/dbt-versions/product-lifecycles#dbt-cloud) and is subject to change without notification. +::: The dbt Semantic Layer offers a seamless integration with Google Sheets through a custom menu. This add-on allows you to build dbt Semantic Layer queries and return data on your metrics directly within Google Sheet. ## Prerequisites From d89821201bd53dbf5448c0e0ea73b75f02ea318e Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:45:26 +0100 Subject: [PATCH 19/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index 9fead9b6e81..f0418b15bca 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -12,7 +12,7 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through ## Prerequisites -1. You have a Google account with access to Google Sheets +1. You have a Google account with access to Google Sheets. 2. You have the ability to install Google Add-ons 3. You have [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) 4. You have a dbt Cloud Environment Id and a [service token](/docs/dbt-cloud-apis/service-tokens) to authenticate with from a dbt Cloud account From fce4b9503ae8981b2cf2a743575bf6e2618455cb Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:48:52 +0100 Subject: [PATCH 20/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index f0418b15bca..27f04fb807f 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -13,7 +13,7 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through ## Prerequisites 1. You have a Google account with access to Google Sheets. -2. You have the ability to install Google Add-ons +2. You can install Google add-ons. 3. You have [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) 4. You have a dbt Cloud Environment Id and a [service token](/docs/dbt-cloud-apis/service-tokens) to authenticate with from a dbt Cloud account From 39a985c3e3f8ff321a89bef6bdb73c5e9cef54eb Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:49:18 +0100 Subject: [PATCH 21/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index 27f04fb807f..7763d8defc9 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -15,7 +15,7 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through 1. You have a Google account with access to Google Sheets. 2. You can install Google add-ons. 3. You have [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) -4. You have a dbt Cloud Environment Id and a [service token](/docs/dbt-cloud-apis/service-tokens) to authenticate with from a dbt Cloud account +4. You have a dbt Cloud Environment ID and a [service token](/docs/dbt-cloud-apis/service-tokens) to authenticate with from a dbt Cloud account. ## Installing the add-on From 63b97071992b8544b57d549fed6a3b66fabd38ef Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:49:27 +0100 Subject: [PATCH 22/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index 7763d8defc9..ec2c8b28aeb 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -20,7 +20,7 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through ## Installing the add-on 1. In Google Sheets, navigate to [**Extensions -> Add-on -> Get add-ons**](https://support.google.com/docs/answer/2942256?hl=en&co=GENIE.Platform%3DDesktop&oco=0#zippy=%2Cinstall-add-ons%2Cinstall-an-add-on). -2. Search for "dbt Semantic Layer for Sheets" and install it +2. Search for "dbt Semantic Layer for Sheets" and install it. 3. After installing, access it by opening the Add-On menu and finding "dbt Semantic Layer for Sheets". This will open a custom menu to the right hand side of your screen. 4. Authenticate with the dbt Cloud Environment Id and Service Token 5. Start querying your metrics using the **Query Builder**! From bcad093ae77a87389df06285c7197277066d9e31 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:49:33 +0100 Subject: [PATCH 23/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index ec2c8b28aeb..dd7120504a5 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -14,7 +14,7 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through 1. You have a Google account with access to Google Sheets. 2. You can install Google add-ons. -3. You have [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl) +3. You have [set up the dbt Semantic Layer](/docs/use-dbt-semantic-layer/setup-sl). 4. You have a dbt Cloud Environment ID and a [service token](/docs/dbt-cloud-apis/service-tokens) to authenticate with from a dbt Cloud account. ## Installing the add-on From 7332f5ff82eb7178e44f124ec34de54bdcf1a7ab Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:53:50 +0100 Subject: [PATCH 24/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index dd7120504a5..646ed089abe 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -28,7 +28,7 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through When querying your data with Google Sheets: -- It returns the data to the cell you have clicked on +- It returns the data to the cell you have clicked on. - The custom menu operation has a timeout limit of six (6) minutes. ## Custom menu key functions From 50ed3d638d279809311e8f915c70b62a341e7fdf Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:53:55 +0100 Subject: [PATCH 25/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index 646ed089abe..7e76253b85f 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -22,7 +22,7 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through 1. In Google Sheets, navigate to [**Extensions -> Add-on -> Get add-ons**](https://support.google.com/docs/answer/2942256?hl=en&co=GENIE.Platform%3DDesktop&oco=0#zippy=%2Cinstall-add-ons%2Cinstall-an-add-on). 2. Search for "dbt Semantic Layer for Sheets" and install it. 3. After installing, access it by opening the Add-On menu and finding "dbt Semantic Layer for Sheets". This will open a custom menu to the right hand side of your screen. -4. Authenticate with the dbt Cloud Environment Id and Service Token +4. Authenticate with the dbt Cloud Environment ID and Service Token. 5. Start querying your metrics using the **Query Builder**! - For more info on the menu functions, refer to [Custom menu key functions](#custom-menu-key-functions). From 6e97c92ca05d803d0a002338a822545c1a363846 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:54:02 +0100 Subject: [PATCH 26/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index 7e76253b85f..2c5608b52d0 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -21,7 +21,7 @@ The dbt Semantic Layer offers a seamless integration with Google Sheets through 1. In Google Sheets, navigate to [**Extensions -> Add-on -> Get add-ons**](https://support.google.com/docs/answer/2942256?hl=en&co=GENIE.Platform%3DDesktop&oco=0#zippy=%2Cinstall-add-ons%2Cinstall-an-add-on). 2. Search for "dbt Semantic Layer for Sheets" and install it. -3. After installing, access it by opening the Add-On menu and finding "dbt Semantic Layer for Sheets". This will open a custom menu to the right hand side of your screen. +3. After installing, open the Add-On menu and select the "dbt Semantic Layer for Sheets". This will open a custom menu to the right-hand side of your screen. 4. Authenticate with the dbt Cloud Environment ID and Service Token. 5. Start querying your metrics using the **Query Builder**! - For more info on the menu functions, refer to [Custom menu key functions](#custom-menu-key-functions). From a1ca87dcf05e77d122d1672ff7e9be6d25b0dc57 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:56:20 +0100 Subject: [PATCH 27/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index 2c5608b52d0..b08f0f1ab40 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -37,7 +37,7 @@ The custom menu provides the following capabilities: | Menu items | Description | |---------------|-------------------------------------------------------| -| Metrics | Search and select metrics | +| Metrics | Search and select metrics. | | Group By | Search and select dimensions to group by. Dimensions are grouped by the entity of the semantic model they come from. | | Granularity | Modify granularity of the primary time dimension | | Where | Filter your data. This includes categorical and time filters. | From 455bf0d340e3523ac46b796e5440b70d43fc7226 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:56:29 +0100 Subject: [PATCH 28/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index b08f0f1ab40..f074cfa82e8 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -41,7 +41,7 @@ The custom menu provides the following capabilities: | Group By | Search and select dimensions to group by. Dimensions are grouped by the entity of the semantic model they come from. | | Granularity | Modify granularity of the primary time dimension | | Where | Filter your data. This includes categorical and time filters. | -| Order By | Return your data ordered | +| Order By | Return your data ordered. | | Limit | Set a limit for the rows of your output | From 4a9a99c10f5dede4601df00a039604ce8b848173 Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:56:37 +0100 Subject: [PATCH 29/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index f074cfa82e8..aa900ce35af 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -42,7 +42,7 @@ The custom menu provides the following capabilities: | Granularity | Modify granularity of the primary time dimension | | Where | Filter your data. This includes categorical and time filters. | | Order By | Return your data ordered. | -| Limit | Set a limit for the rows of your output | +| Limit | Set a limit for the rows of your output. | ## Filtering data From 8edd79902d0846e7b1081faa823cce584f50f20c Mon Sep 17 00:00:00 2001 From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:56:43 +0100 Subject: [PATCH 30/30] Update website/docs/docs/use-dbt-semantic-layer/gsheets.md Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/use-dbt-semantic-layer/gsheets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/use-dbt-semantic-layer/gsheets.md b/website/docs/docs/use-dbt-semantic-layer/gsheets.md index aa900ce35af..8ddaae0364c 100644 --- a/website/docs/docs/use-dbt-semantic-layer/gsheets.md +++ b/website/docs/docs/use-dbt-semantic-layer/gsheets.md @@ -39,7 +39,7 @@ The custom menu provides the following capabilities: |---------------|-------------------------------------------------------| | Metrics | Search and select metrics. | | Group By | Search and select dimensions to group by. Dimensions are grouped by the entity of the semantic model they come from. | -| Granularity | Modify granularity of the primary time dimension | +| Granularity | Modify the granularity of the primary time dimension. | | Where | Filter your data. This includes categorical and time filters. | | Order By | Return your data ordered. | | Limit | Set a limit for the rows of your output. |