[Bug] Setting the enable_iceberg_materializations flag to True on a dbt project that is connected to a Snowflake account with QUOTED_IDENTIFIERS_IGNORE_CASE = true results in error tuple.index(x): x not in tuple #1227
Labels
bug
Something isn't working
Is this a new bug in dbt-snowflake?
Current Behavior
Currently in dbt Cloud in order to create Iceberg tables, you must implement a behavior flag due to performance impact related to using Iceberg tables. Snowflake does not support is_iceberg on the Show Objects query, which dbt depends on for metadata. To use Iceberg, you need to set the enable_iceberg_materializations flag to True in your dbt_project.yml:
However, if the Snowflake account that is connected to your dbt Cloud project has the flag
QUOTED_IDENTIFIERS_IGNORE_CASE
set toTrue
, this results in the following error:This appears to occur when we run the following query:
Expected Behavior
dbt should be able to handle quoting/casing while this flag is set to True in Snowflake.
Steps To Reproduce
QUOTED_IDENTIFIERS_IGNORE_CASE
toTrue
in Snowflake:enable_iceberg_materializations
toTrue
indbt_project.yml
file:From the debug logs:
Relevant log output
No response
Environment
Additional Context
This is fairly similar to the bug reported here
The text was updated successfully, but these errors were encountered: