Skip to content

Unable to truncate dbt-artifact tables using DBT #507

@Siete-F

Description

@Siete-F

I just ran into the issue that it is impossible to do a dbt run -s dbt_artifacts.* --full-refresh because the full_refresh property is forced to false in the dbt_project.yml of dbt_artifacts, making it impossible to clean up those tables...

Is there any way to achieve this with a DBT command?

I now deleted the tables, but this makes the dbt_artifacts.upload_results(results) macro crash, leaving me in an awkward broken state. i need to manually create the tables again for the macro to work apperantly.

Image

(and no, it is not exited by "User input", that "input" is provided by this package or elsewhere, this is an automated databricks workflow)

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