Documentation Index
Fetch the complete documentation index at: https://honeydew.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Entity Caching
Entities may have calculated attributes that are expensive to compute - with aggregations, JOINs or large table scans. By default, every access to a calculated attribute recomputes it. However, for most calculated attributes recomputation is not necessary. Entity cache enables materializing entities, in order to avoid re-computation. The cache is updated upon triggers or according to a set schedule. The cache is stored as tables in your Snowflake, and is recomputed based on configuration. When entity cache is enabled, Honeydew will automatically leverage data in the cache when applicable.Entity caches are singlular and are shared across domains and branches.
Configuration
Set up in Entity YAML schema cache delivery settings for Snowflake:Configuration when using dbt as orchestrator
Set up in Entity YAML schema cache delivery settings for dbt:Orchestration
Entity Cache refresh relies on external orchestration (with dbt or otherwise).
Set up orchestration in an external tool
Use the Snowflake Native Application API to get SQL for entity cache:Set up with dbt
To set up dbt as a cache orchestrator:- In dbt, create an entity cache model by using the Honeydew dbt cache macro
- In dbt, use the
configmacro to set up materialization settings such as clustering or dynamic tables - In Honeydew, set the entity’s dbt delivery settings to the chosen dbt model name
customers model in dbt: