This page refers to the
persist_with
parameter that is part of an Explore.
persist_with
can also be used as part of a model, described on thepersist_with
parameter documentation page.
Usage
explore: explore_name { persist_with: airports_datagroup }
Hierarchy
persist_with |
Default Value
None
Accepts
The name of a datagroup.
|
Definition
Use persist_with
under the explore
parameter to specify a datagroup
caching policy to use for that specific Explore.
To specify a default datagroup for all Explores in a model, you can use the
persist_with
parameter at the model level.
If you include a persist_with
parameter under the explore
parameter and also at the model level, the Explore will use the datagroup caching policy specified under the explore
parameter.
See caching for an overview of datagroups.
Example
Use the orders_datagroup
caching policy for an Explore:
explore: customer_facts {
persist_with: orders_datagroup
...
}