Skip to content

switch target not working - always takes the target from dbt_profiles.yml #1759

@galmarcopf

Description

@galmarcopf

Expected behavior

I'm using dbt-snwoflake.
When I modified the target in the bottom panel next to the "defer" status icon, I see the selector changed but it always queries the target I have defined in my profiles.yml (when trying to run with cmd+enter), and not the target I changed to.

Actual behavior

It should query the target I chose in the selector next to the defer icon.

Steps To Reproduce

Open a dbt project with multiple targets in profiles.yml
Change the target selector in the bottom panel to a different target
Press Cmd+Enter to execute a query
The query runs against the target defined in profiles.yml, not the selected target

Log output/Screenshots

No response

Operating System

macOS Sequoia v15.7

dbt version

1.10.2

dbt Adapter

dbt-snowflake 1.9.4

dbt Power User version

0.58.12

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions