[SL] Add cache
configuration to SavedQuery
config
#9540
Labels
enhancement
New feature or request
Impact: CA
Impact: SL
user docs
[docs.getdbt.com] Needs better documentation
Milestone
Housekeeping
Short description
The
SavedQuery
config is getting a new top level property,cache
. This is to to enable semantic layer implementations to setup caching as they see fit. This is being added to the dbt-semantic-interfaces protocol definitions in dbt-labs/dbt-semantic-interfaces#252. The value for thecache
key is an object with one attribute (currently)enabled
which is eithertrue
orfalse
.Acceptance criteria
cache
can optionally be specified in theconfig
ofSavedQuery
scache
is specified forSavedQuery
s in a dbt_project.toml, it is properly inheritedcache
isn't specified, a defaultcache
object is still created withenabled = false
Suggested Tests
cache
can be specified in aSavedQuery
configcache
can be specified for aSavedQuery
config via thedbt_project.toml
cache
defined in yaml for theSavedQuery
overrides settings from thedbt_project.toml
cache
is specified, a default one is supplied withenabled = false
Impact to Other Teams
Affects the Cloud Artifacts team as new properties will be present
Affects the Semantic Layer team as they need this to be able to implement functionality
Will backports be required?
No
Context
No response
The text was updated successfully, but these errors were encountered: