adding a bandaid solution to avoid truncation error (#417)

* adding a bandaid solution to avoid truncation error

* added here too
This commit is contained in:
RAI 2025-03-28 12:16:02 -05:00 committed by GitHub
parent 9f9ddf119b
commit dd2b111960
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 5 deletions

View File

@ -13,8 +13,6 @@ SELECT
block_number,
id AS tx_id,
DATA: error_message :: STRING AS error_message,
DATA: events :: ARRAY AS events,
DATA :status :: INT AS status,
DATA :status_code :: INT AS status_code,
_partition_by_block_id,
_inserted_timestamp,
@ -41,7 +39,8 @@ WHERE
FROM
{{ this }}
)
AND _partition_by_block_id > 107700000
-- AND _partition_by_block_id > 107700000 -- march 27th 2025
AND _partition_by_block_id > 108000000 -- march 28th 2025
{% else %}
{{ ref('bronze__streamline_fr_transaction_results') }}
{% endif %}

View File

@ -28,7 +28,7 @@ WHERE
),
'1900-01-01' :: timestamp_ntz
)
AND _partition_by_block_id > 107700000
AND _partition_by_block_id > 108000000
-- id NOT IN (
-- 'f31f601728b59a0411b104e6795eb18e32c9b1bea3e52ea1d28a801ed5ceb009',
-- 'b68b81b7a2ec9fb4e3789f871f95084ba4fdd9b46bb6c7029efa578a69dba432'

View File

@ -69,7 +69,7 @@ SELECT
FROM
transactions_to_ingest
WHERE
block_height > 107700000
block_height > 108000000
-- transaction_id NOT IN (
-- 'f31f601728b59a0411b104e6795eb18e32c9b1bea3e52ea1d28a801ed5ceb009',
-- 'b68b81b7a2ec9fb4e3789f871f95084ba4fdd9b46bb6c7029efa578a69dba432'