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