Closed noel closed 4 weeks ago
Hi @noel , Snowflake does not support a lag of less than 1 minute. It's in their official documentation https://docs.snowflake.com/en/sql-reference/sql/alter-dynamic-table
Due to this - I'm closing this issue out. I'll make a note in our documentation to be clear that while 30 minutes is supported, 30 seconds (and anything under a minute) is not due to Snowflake's limitations.
oh, thank you for clarifying, I had not seen this
The minimum value is 1 minute. If a dynamic table A depends on another dynamic table B, the minimum lag for A must be greater than or equal to the lag for B.
So I guess the point of seconds is to be able to do something like 90 seconds
not as I tried to do with 30
That's correct!
Is this a new bug in dbt-snowflake?
Current Behavior
According to the official dbt docs, target_lag of < 1 minute should be possible, but when I try this in dbt-snowflake==1.8.4 I get the following error:
Expected Behavior
30 second target lag should work
Steps To Reproduce
Create a model with the following configuration:
run the model
Relevant log output
Additional Context
No response