Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymedina committed Nov 14, 2024
1 parent 30be842 commit da26325
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit da26325

Please sign in to comment.