Closed bpruss closed 2 months ago
Hi! We have already resolved this in https://github.com/dbt-labs/dbt-snowflake/pull/1081. It will arrive in v1.9 when we cut the release next month. It's already available in dbt Cloud if you're on versionless.
@amychen1776 - Thank you! I did try to do a search. And I'm new to participating on OSS.
No worries! I still appreciate you opening it - shows people care :)
Is this your first time submitting a feature request?
Describe the feature
I want the option to set REFRESH_MODE when configuring a dynamic_table materialization. I need an INCREMENTAL dynamic table and because my SQL contains a lateral flatten, Snowflake is telling me I need to explicitly set the the REFRESH_MODE to INCREMENTAL.
Here is the message from the refresh_mode_reason column of a
show dynamic tables;
This dynamic table contains a lateral flatten which is now supported incrementally. To opt in, we recommend reading https://docs.snowflake.com/user-guide/dynamic-table-performance-guide and explicitly setting the refresh mode to INCREMENTAL.Describe alternatives you've considered
Who will this benefit?
Anyone using dynamic tables where they need to explicitly call out REFRESH_MODE = INCREMENTAL. At least people who use lateral flatten in their dynamic tables.
Are you interested in contributing this feature?
I would be interested in looking at the existing code for dynamic table materialization. If I can do this in a reasonable amount of time, I'd be happy to contribute.
Anything else?
https://docs.snowflake.com/en/sql-reference/sql/create-dynamic-table