Skip to content

Non dbt command in the DbtCoreOperation in the dbt prefect bigquery quickstart #95

@machariamuguku

Description

@machariamuguku

In the dbt prefect bigquery workflow, the first command in the list (pwd) fails because it's not a dbt command. Every command in the DbtCoreOperation is presumed to be a valid dbt command and --profiles-dir and --project-dir are appended during command run. when you append the commands to the bash command pwd (e.g pwd --profiles-dir /some/dir --project-dir /some/dir) it fails because it treats the appends as flags.

Weirdly, this does not trigger the task to fail. It only shows on the logs as an info. See screenshot below
Screenshot from 2024-02-13 01-20-46

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