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

[Feature] Add config block to saved queries to flag a saved query as enabled/disabled for the declarative cache. #237

Open
3 tasks done
Jstein77 opened this issue Dec 21, 2023 · 0 comments
Labels

Comments

@Jstein77
Copy link

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward change to existing dbt-semantic-interfaces functionality, rather than a Big Idea better suited to a discussion

Describe the feature

Declarative Cache
The Declarative Cache stores saved queries that a user specifies (declares) in the data warehouse. The basic flow for populating and reading from this cache is:

- Saved Query → Orchestration → Build table → Same Query → Select * from table

The declarative cache will be specified in the config object under a saved query. This gives us the benefit of defaulting to all saved queries being cached or not and for that flag to be flipped the other way in any given saved query.

saved_queries:
  - name: my_query
      description:
      query_params:
          *...*
      exports:
          *...*
    config:
      cache:
        enabled: true|false

This allows us to keep a clean distinction for an export which is not under our management vs. a cache that is purely under our management.

Describe alternatives you've considered

No response

Who will this benefit?

No response

Are you interested in contributing this feature?

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant