本页中提及的
persist_with
参数是探索的一部分。
persist_with
也可以用作模型的一部分,如persist_with
参数文档页面中所述。
用量
探索:探索名称 {
persist_with: 机场端口
}
persist_with: 机场端口
}
层次结构
persist_with |
默认值
无接受
数据组的名称。 |
定义
在 explore
参数下使用 persist_with
指定用于该特定探索的 datagroup
缓存政策。
如需为模型中的所有探索指定默认数据组,您可以在模型级别使用
persist_with
参数。
如果您在 explore
参数下以及模型级都添加了 persist_with
参数,“探索”功能将使用在 explore
参数下指定的数据组缓存政策。
如需简要了解数据组,请参阅缓存。
示例
对探索使用 orders_datagroup
缓存政策:
explore: customer_facts {
persist_with: orders_datagroup
...
}