Skip to content

[bug] planning on duckdb attached to postgres results in wrong drop statement #5677

@dberardo-com

Description

@dberardo-com

during planning

Failed models


  "...."."telemetry_data_sqlmesh"."corrected_tdata"

    Error:
      Failed to execute query "BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ;
      DROP Table  IF EXISTS "sqlmesh__telemetry_data_sqlmesh"."telemetry_data_sqlmesh__corrected_tdata__272003323"": ERROR:  "telemetry_data_sqlmesh__corrected_tdata__272003323" is not a table
      HINT:  Use DROP VIEW to remove a view.

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