You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, running dbt test creates a snowflake connection per each model. This fires a huge amount of connection request on my browser, and I barely have time to click on Duo for 2FA requests. After a few try, because I wasn't responding enough on Duo, the 2FA would lock me out.
Each dbt run should create a proper connection, ideally one per each thread, and whatever dbt jobs running should pick up connections from the pool, instead of firing auth request like it is free candy.
Steps To Reproduce
Create a dbt profile in ~/.dbt/profile.yml
set authenticator: externalbrowser
Use an example dbt project with a lot of models and run dbt deps && dbt test.
Is this a new bug in dbt-snowflake?
Current Behavior
The way I am currently using dbt-snowflake locally is that, I have a dbt profile as follows:
However, running
dbt test
creates a snowflake connection per each model. This fires a huge amount of connection request on my browser, and I barely have time to click on Duo for 2FA requests. After a few try, because I wasn't responding enough on Duo, the 2FA would lock me out.I am wondering what is the connection management practices in this repo looks like? Has the connection pool been properly managed? https://docs.snowflake.com/en/developer-guide/node-js/nodejs-driver-connect#creating-a-connection-pool
Expected Behavior
Each dbt run should create a proper connection, ideally one per each thread, and whatever dbt jobs running should pick up connections from the pool, instead of firing auth request like it is free candy.
Steps To Reproduce
~/.dbt/profile.yml
authenticator: externalbrowser
dbt deps && dbt test
.Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: