Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL API docs: grain: "month" should be grain: MONTH #4424

Closed
laurirecordly opened this issue Nov 9, 2023 · 0 comments · Fixed by #4454
Closed

GraphQL API docs: grain: "month" should be grain: MONTH #4424

laurirecordly opened this issue Nov 9, 2023 · 0 comments · Fixed by #4454
Assignees
Labels
content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear size: x-small This change will take under 3 hours to fix.

Comments

@laurirecordly
Copy link

I'm trying to query Semantic Layer using GraphQL API (dbt version 1.6)

Docs says grain: "month" here and here, but it worked only with grain: MONTH. I tried grain: "month", grain: "MONTH", and grain: month but only grain: MONTH worked.

Is this a bug in docs? Or have I configured something in a wrong way?

@matthewshaver matthewshaver added size: x-small This change will take under 3 hours to fix. content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear labels Nov 9, 2023
@matthewshaver matthewshaver self-assigned this Nov 9, 2023
matthewshaver added a commit that referenced this issue Nov 13, 2023
## What are you changing in this pull request and why?

Fixes `grain: MONTH` syntax.

Closes #4424

## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
- [x] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear size: x-small This change will take under 3 hours to fix.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants