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
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
When apply dbt run to an existing model materialized = 'dynamic_table, it fails with following error message:
SnowflakeDynamicTableConfig.__init__() missing 6 required positional arguments: 'name', 'schema_name', 'database_name', 'query', 'target_lag', and 'snowflake_warehouse'
> in macro dynamic_table_get_build_sql (macros/materializations/dynamic_table.sql)
> called by macro materialization_dynamic_table_snowflake (macros/materializations/dynamic_table.sql)
> called by model XXXXXX
Expected Behavior
Generate alter XXXX command to update the configuration.
After the investigation, I've found that it seems this query returns column name with uppercase but here refers it as lowercase and it returns None for necessary configurations.
Steps To Reproduce
Deploy a model with materialized = 'dynamic_table'
@kds1010 I'm struggling to recreate this issue. Per your message - does this mean that you create a dynamic table, successfully created it on the initial run and then subsequent runs, it fails? That error message seems specific to a column name.
Would you be able to provide a sample of your dynamic table code? Did you also change from a different materialization (like table) over to dynamic table?
Is this a new bug in dbt-snowflake?
Current Behavior
When apply
dbt run
to an existing modelmaterialized = 'dynamic_table
, it fails with following error message:Expected Behavior
Generate
alter XXXX
command to update the configuration.After the investigation, I've found that it seems this query returns column name with uppercase but here refers it as lowercase and it returns
None
for necessary configurations.Steps To Reproduce
materialized = 'dynamic_table'
Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: