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
When using a database with a name that requires quoting, such as starting with a number, the stage_external_sources will fail when it tries to check for existing schema in the snowflake__create_external_schema
Core:
- installed: 1.8.4
- latest: 1.8.9 - Update available!
Your version of dbt-core is out of date!
You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation
Plugins:
- snowflake: 1.8.4 - Up to date!
The operating system you're using:
macOS 15.1.1 (24B91)
The output of python --version:
Python 3.10.3
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When using a database with a name that requires quoting, such as starting with a number, the
stage_external_sources
will fail when it tries to check for existing schema in thesnowflake__create_external_schema
dbt-external-tables/macros/plugins/snowflake/create_external_schema.sql
Line 4 in 19e5975
Steps to reproduce
Create an external table on a Snowflake database where the database name begins with a number.
Expected results
I would expect the query to respect the quoting rules set by the project
Actual results
Screenshots and log output
�[0m11:46:15.750359 [debug] [MainThread]: On macro_stage_external_sources: show terse schemas like 'gcp_billing' in database PEMPEY_PREP limit 1
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
macOS 15.1.1 (24B91)
The output of
python --version
:Python 3.10.3
Additional context
The text was updated successfully, but these errors were encountered: