Skip to content

Missing refresh_mode #200

@dstuck

Description

@dstuck

Issue

The JSON schema for dbt_project.yml is missing support for refresh_mode configuration in dynamic_table materializations, causing validation errors despite this being valid dbt syntax.

Observed Behavior

The following shows invalid for refresh_mode:

      +materialized: dynamic_table
      +refresh_mode: INCREMENTAL
      +target_lag: 1 hours
      +snowflake_warehouse: "{{ target.warehouse }}"

Expected Behavior

dbt_project.yml should be valid

Recommended Fix

Add refresh_mode and +refresh_mode to the model_configs section of dbt_project-latest.json

References

dbt dynamic tables

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions