persist_with (for Explores)

This page refers to thepersist_with parameter that is part of anExplore.

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 adatagroup.

Definition

Usepersist_with under theexplore parameter to specify adatagroup caching policy to use for that specific Explore.

To specify a default datagroup for all Explores in a model, you can use thepersist_with parameter at the model level.

If you include apersist_with parameter under theexplore parameter and also at the model level, the Explore will use the datagroup caching policy specified under theexplore parameter.

Seecaching for an overview of datagroups.

Example

Use theorders_datagroup caching policy for an Explore:

explore: customer_facts {  persist_with: orders_datagroup  ...}

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-22 UTC.