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
Snowflake information schema queries should be case-insensitive, but the Snowflake plugin does not override the default implementation of list_schemas which is case-sensitive.
We should either change the default implementation of list_schemas to be case-insensitive, or we should override the Snowflake implementation to do a case-insensitive lookup. Let's also scan for other case-sensitive default implementations that aren't overridden by the Snowflake plugin.
Results
Given schema: my_schema in profiles.yml, dbt furnishes the following list_schemas query on Snowflake:
select distinct schema_name
from dw_dev.information_schema.schemata
where catalog_name = 'my_schema'
dbt uses this query to determine which schemas already exist, circumventing a create schema if not exists ... query. This issue probably only manifests in an error if the dbt user does not have permissions to create a new schema.
System information
The output of dbt --version:
0.13.0
The text was updated successfully, but these errors were encountered:
Issue
Issue description
Snowflake information schema queries should be case-insensitive, but the Snowflake plugin does not override the default implementation of list_schemas which is case-sensitive.
We should either change the default implementation of
list_schemas
to be case-insensitive, or we should override the Snowflake implementation to do a case-insensitive lookup. Let's also scan for other case-sensitive default implementations that aren't overridden by the Snowflake plugin.Results
Given
schema: my_schema
inprofiles.yml
, dbt furnishes the followinglist_schemas
query on Snowflake:dbt uses this query to determine which schemas already exist, circumventing a
create schema if not exists ...
query. This issue probably only manifests in an error if the dbt user does not have permissions to create a new schema.System information
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: