full_decoded_log changes

This commit is contained in:
drethereum 2025-01-28 13:43:23 -07:00
parent 00a9d7a864
commit dfae62ada0
5 changed files with 6 additions and 13 deletions

View File

@ -65,12 +65,6 @@ This column is being removed for standardization purposes and will be replaced w
{% enddocs %}
{% docs evm_column_deprecation_notice_full_decoded_log %}
This column is being deprecated for standardization purposes. Please update your queries to use the `full_decoded_data` column instead by February 3, 2025.
{% enddocs %}
{% docs evm_table_deprecation_notice %}
This table is being deprecated for standardization purposes. Please update your queries by February 3, 2025.

View File

@ -26,7 +26,7 @@ SELECT
ELSE FALSE
END AS tx_succeeded, --new column
event_name,
decoded_data AS full_decoded_data, --new column
decoded_data AS full_decoded_log,
decoded_flat AS decoded_log,
token_name AS contract_name,
COALESCE (
@ -37,7 +37,6 @@ SELECT
) AS ez_decoded_event_logs_id,
GREATEST(COALESCE(l.inserted_timestamp, '2000-01-01'), COALESCE(C.inserted_timestamp, '2000-01-01')) AS inserted_timestamp,
GREATEST(COALESCE(l.modified_timestamp, '2000-01-01'), COALESCE(C.modified_timestamp, '2000-01-01')) AS modified_timestamp,
decoded_data AS full_decoded_log, --deprecate
tx_status --deprecate
FROM
{{ ref('silver__decoded_logs') }}

View File

@ -42,8 +42,6 @@ models:
- name: DECODED_LOG
description: 'The flattened decoded log, where the keys are the names of the event parameters, and the values are the values of the event parameters.'
- name: FULL_DECODED_LOG
description: '{{ doc("evm_column_deprecation_notice_full_decoded_log") }}'
- name: FULL_DECODED_DATA
description: 'The full decoded log, including the event name, the event parameters, and the data type of the event parameters.'
- name: ORIGIN_FUNCTION_SIGNATURE
description: '{{ doc("blast_tx_origin_sig") }}'

View File

@ -53,9 +53,9 @@ SELECT
token_out,
symbol_in,
symbol_out,
_log_id,
complete_dex_swaps_id AS ez_dex_swaps_id,
inserted_timestamp,
modified_timestamp
modified_timestamp,
_log_id --deprecate
FROM
{{ ref('silver_dex__complete_dex_swaps') }}
{{ ref('silver_dex__complete_dex_swaps') }}

View File

@ -56,5 +56,7 @@ models:
description: '{{ doc("inserted_timestamp") }}'
- name: MODIFIED_TIMESTAMP
description: '{{ doc("modified_timestamp") }}'
- name: _LOG_ID
description: '{{ doc("evm_column_deprecation_notice_log_id") }}'