您正在查看 Looker 26.2 的文档。点击此链接可查看
最新文档。
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
persist_with(适用于探索)
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
此页面涉及 探索的一部分 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
...
}
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-03-03。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-03-03。"],[],[]]