update path (#206)

This commit is contained in:
Austin 2024-09-11 13:53:04 -04:00 committed by GitHub
parent bc3c7a0de0
commit 3fb5da2e78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,6 @@
unique_key = ['block_number','tx_position'],
cluster_by = ['modified_timestamp::DATE','partition_key'],
tags = ['overflowed_traces2'],
full_refresh = false,
snowflake_warehouse = warehouse
) }}
@ -42,7 +41,11 @@ WITH bronze_overflowed_traces AS (
'input',
'error',
'output',
'revertReason'
'revertReason',
'txHash',
'time',
'result.txHash',
'result.time'
),
'ORIGIN',
REGEXP_REPLACE(REGEXP_REPLACE(path, '[^0-9]+', '_'), '^_|_$', '')