AltimateAI / AltimateAI/vscode-dbt-power-user

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

Abierto
#1,591 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
JavaScript
Estrellas
585
Forks
121
Merge medio
5 d 39 min
PR fusionados (30 d)
4

Descripción

### 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!

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.