COF-C02 · Question #560
How does Snowflake handle the data retention period for a table if a stream has not been consumed?
The correct answer is C. The data retention period is temporarily extended to the stream's offset. When a stream exists on a table but has not been consumed, Snowflake automatically extends the table's data retention period to ensure the stream's offset (the point in time from which changes are tracked) remains accessible. This extension is temporary - it lasts only as long…
Question
How does Snowflake handle the data retention period for a table if a stream has not been consumed?
Options
- AThe data retention period is reduced to a minimum of 14 days.
- BThe data retention period is permanently extended for the table.
- CThe data retention period is temporarily extended to the stream's offset.
- DThe data retention period is not affected by the stream consumption.
How the community answered
(23 responses)- A4% (1)
- B4% (1)
- C91% (21)
Explanation
When a stream exists on a table but has not been consumed, Snowflake automatically extends the table's data retention period to ensure the stream's offset (the point in time from which changes are tracked) remains accessible. This extension is temporary - it lasts only as long as the stream remains unconsumed. Once the stream is consumed (or dropped), the retention period returns to its configured value. This prevents Time Travel data that the stream depends on from being purged prematurely.
Topics
Community Discussion
No community discussion yet for this question.