mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 11:06:45 +00:00
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:
parent
9f9ddf119b
commit
dd2b111960
@ -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 %}
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -69,7 +69,7 @@ SELECT
|
||||
FROM
|
||||
transactions_to_ingest
|
||||
WHERE
|
||||
block_height > 107700000
|
||||
block_height > 108000000
|
||||
-- transaction_id NOT IN (
|
||||
-- 'f31f601728b59a0411b104e6795eb18e32c9b1bea3e52ea1d28a801ed5ceb009',
|
||||
-- 'b68b81b7a2ec9fb4e3789f871f95084ba4fdd9b46bb6c7029efa578a69dba432'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user