From af81bfb6d90040986a9c31adb9313d14ae938953 Mon Sep 17 00:00:00 2001 From: desmond-hui <97470747+desmond-hui@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:18:55 -0800 Subject: [PATCH] update partition start min (#734) --- models/streamline/core/realtime/streamline__block_txs_2.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/streamline/core/realtime/streamline__block_txs_2.sql b/models/streamline/core/realtime/streamline__block_txs_2.sql index eb5c4fa1..e3d0e525 100644 --- a/models/streamline/core/realtime/streamline__block_txs_2.sql +++ b/models/streamline/core/realtime/streamline__block_txs_2.sql @@ -19,7 +19,7 @@ {% set next_batch_num_query %} SELECT greatest( - 129041, /* cutoff partition id in PROD after deploy */ + 150000, /* This partition id needs to start at a value greater than the current max partition of the legacy streamline data */ (SELECT coalesce(max(_partition_id),0) FROM {{ ref('streamline__complete_block_txs_2') }}) )+1 {% endset %}