From da26325a153532f348711189d654be2066f8579a Mon Sep 17 00:00:00 2001 From: Jenny Medina Date: Thu, 14 Nov 2024 11:17:08 -0500 Subject: [PATCH] . --- .../synapse/dynamic_tables/V2.22.0__experimental.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 synapse_data_warehouse/synapse/dynamic_tables/V2.22.0__experimental.sql diff --git a/synapse_data_warehouse/synapse/dynamic_tables/V2.22.0__experimental.sql b/synapse_data_warehouse/synapse/dynamic_tables/V2.22.0__experimental.sql new file mode 100644 index 00000000..62c95ada --- /dev/null +++ b/synapse_data_warehouse/synapse/dynamic_tables/V2.22.0__experimental.sql @@ -0,0 +1,12 @@ +use schema {{database_name}}.synapse; --noqa: JJ01,PRS,TMP,CP01 + +CREATE DYNAMIC TABLE IF NOT EXISTS dynamic_city_table + TARGET_LAG = '1 day' + WAREHOUSE = compute_xsmall + REFRESH_MODE = INCREMENTAL + AS + SELECT + CITY, + CURRENT_TIMESTAMP AS processing_time + FROM + {{database_name}}.synapse_raw.experimental; --noqa: TMP