diff --git a/macros/streamline/models.sql b/macros/streamline/models.sql index 3b99ca95..ec20eca0 100644 --- a/macros/streamline/models.sql +++ b/macros/streamline/models.sql @@ -26,7 +26,8 @@ ) ) AS id, s.{{ partition_name }}, - s.value AS VALUE + s.value AS VALUE, + file_name FROM {{ source( "bronze_streamline", @@ -85,7 +86,8 @@ SELECT ) ) AS id, s.{{ partition_name }}, - s.value AS VALUE + s.value AS VALUE, + file_name FROM {{ source( "bronze_streamline", diff --git a/models/streamline/silver/core/complete/streamline__complete_debug_traceBlockByNumber.sql b/models/streamline/silver/core/complete/streamline__complete_debug_traceBlockByNumber.sql index 266e510c..801a27a9 100644 --- a/models/streamline/silver/core/complete/streamline__complete_debug_traceBlockByNumber.sql +++ b/models/streamline/silver/core/complete/streamline__complete_debug_traceBlockByNumber.sql @@ -11,6 +11,7 @@ SELECT id, block_number, + file_name, _inserted_timestamp FROM @@ -29,4 +30,4 @@ WHERE qualify(ROW_NUMBER() over (PARTITION BY id ORDER BY - _inserted_timestamp DESC)) = 1 \ No newline at end of file + _inserted_timestamp DESC)) = 1 diff --git a/models/streamline/silver/core/complete/streamline__complete_qn_getBlockWithReceipts.sql b/models/streamline/silver/core/complete/streamline__complete_qn_getBlockWithReceipts.sql index 59a24ffd..e99a7522 100644 --- a/models/streamline/silver/core/complete/streamline__complete_qn_getBlockWithReceipts.sql +++ b/models/streamline/silver/core/complete/streamline__complete_qn_getBlockWithReceipts.sql @@ -11,6 +11,7 @@ SELECT id, block_number, + file_name, _inserted_timestamp FROM @@ -29,4 +30,4 @@ WHERE qualify(ROW_NUMBER() over (PARTITION BY id ORDER BY - _inserted_timestamp DESC)) = 1 \ No newline at end of file + _inserted_timestamp DESC)) = 1