Skip to content

Add an option to sqlmesh plan to use rendered model queries for diffing #1254

Closed

Description

@izeigerman

This should help investigate issues which occur due to non-deterministic nature of some macros which result in unexpected creation of new model snapshots.

Activity

  1. crericha commented on Aug 1, 2023

    @crericha
    Collaborator

    Should we automatically diff the rendered models if there is no diff between the raw models? And say something like raw models match, showing rendered diff.

  2. tobymao commented on Dec 19, 2024

    @tobymao
    Contributor

    @VaggelisD this seems pretty easy.

    we need to add an option to sqlmesh plan

    in render_definition.py, we need the option to propagate to call render_query() and render_pre/post_statements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ImprovementImproves existing functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions