此页面涉及 探索的一部分
persist_with参数。
persist_with也可以作为模型的一部分使用,如persist_with参数文档页面中所述。
用法
explore: explore_name {
persist_with: airports_datagroup
}
|
层次结构
persist_with |
默认值
无
接受
数据组的名称。
|
定义
使用 explore 参数下的 persist_with 指定要用于相应特定探索的 datagroup 缓存政策。
如需为模型中的所有探索指定默认数据组,您可以在模型级别使用
persist_with参数。
如果您在 explore 参数下以及在模型级别都添加了 persist_with 参数,则探索将使用 explore 参数下指定的数据组缓存政策。
如需了解数据组的概览,请参阅缓存。
示例
为探索使用 orders_datagroup 缓存政策:
explore: customer_facts {
persist_with: orders_datagroup
...
}