<< All versions
Skill v1.0.0
currentAutomated scan100/100gyrus-dev/frosty/snowflake-create-dynamic-table
──Details
PublishedNovember 3, 2026 at 08:48 PM
Content Hashsha256:6263d8aebc5f0916...
Git SHA56db724d9dcc
──Files
Files (1 file, 1.3 KB)
SKILL.md1.3 KBactive
SKILL.md · 18 lines · 1.3 KB
name: snowflake-create-dynamic-table description: Consult Snowflake CREATE DYNAMIC TABLE parameter reference before generating any CREATE DYNAMIC TABLE DDL. metadata: version: "1.0.0"
Before writing a CREATE DYNAMIC TABLE statement:
- Read
references/parameters.mdto review all available parameters and their defaults. - For each parameter, decide whether the user's request implies a non-default value.
- Include only the parameters that differ from the default or that the user explicitly requested.
- Never use
CREATE OR REPLACE— always useCREATE DYNAMIC TABLE IF NOT EXISTSwhere supported. - Always specify both
TARGET_LAGandWAREHOUSE— they are required. ChooseTARGET_LAG = DOWNSTREAMonly when the dynamic table feeds other dynamic tables and downstream refresh semantics are desired; otherwise use an explicit interval (e.g.,'1 minutes'). - Prefer
REFRESH_MODE = AUTOunless the user explicitly requiresFULLorINCREMENTAL; the system will choose the most efficient mode automatically. - Do not add
CLUSTER BYunless the table is expected to be multi-terabyte or the user requests it. - Do not use
EXECUTE AS USERunless the user explicitly provides an impersonation user, as it requires the IMPERSONATE privilege. - Append the defining query as the
AS <query>clause at the end of the statement — it is required.