AltimateAI / AltimateAI/vscode-dbt-power-user

Compile pointing to different Snowflake Database when table doesn't exist

Aperta
#1,591 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
585
Fork
121
Merge medio
5g 39m
PR unite (30g)
4

Descrizione

### Expected behavior

I would expect the DBT Power User compilation to behave the same way that I see in the DBT Cloud IDE compilation screen, even if the table that it's referring to doesn't exist.

### Actual behavior

When I compile my code in the Cloud IDE, all of the table references point to EXAMPLE_PRD_TST_DB. But when I compile it in the DBT Power User extension, if the table doesn't exist in the Database, it seems to be defaulting to the EXAMPLE_STG_DB that is set up in the Snowflake -> Connections screen for the overall project (?). Not totally sure how it's retrieving this, but somehow it's using a different DB prefix.

### Steps To Reproduce

I use the extension for work and don't want to include our real data, so let me know if the description isn't enough information and I can try and provide some examples with sensitive attributes removed.

### Log output/Screenshots

_No response_

### Operating System

Windows 11 Enterprise - 10.0.22631 Build 22631

### dbt version

dbt Cloud CLI - 0.38.22

### dbt Adapter

Not sure what this means

### dbt Power User version

0.54.3

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.