From fb7c72a92ac23afad8fbf72d06b71c207c8b0ce6 Mon Sep 17 00:00:00 2001 From: Eric Laurello Date: Thu, 17 Jul 2025 11:37:40 -0400 Subject: [PATCH] add so to tx --- models/streamline/core/streamline__transactions.sql | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/models/streamline/core/streamline__transactions.sql b/models/streamline/core/streamline__transactions.sql index fb11140..dff56c2 100644 --- a/models/streamline/core/streamline__transactions.sql +++ b/models/streamline/core/streamline__transactions.sql @@ -4,7 +4,12 @@ incremental_predicates = ["dynamic_range_predicate", "block_timestamp::date"], merge_exclude_columns = ["inserted_timestamp"], cluster_by = "block_timestamp::DATE", - tags = ['streamline_realtime'] + tags = ['streamline_realtime'], + post_hook = enable_search_optimization( + '{{this.schema}}', + '{{this.identifier}}', + 'ON EQUALITY(tx_digest)' + ) ) }} SELECT