Skip to content

Run the optimize on snapshots with liquid clustering #1335

Description

@karasda

Describe the feature

When building a model, the "OPTIMIZE" query is executed automatically after each run. I want same feature for snapshots.

Describe alternatives you've considered

Using posthooks.

Additional context

Ideally I want to change the config of the snapshots to adjust the liquid clustering columns even for existing tables.
I also considering some kind of default (dbt_scd_id, dbt_valid_to and config.id)

Who will this benefit?

Increased performance for work with snapshots.

Are you interested in contributing this feature?

No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions