gold update

This commit is contained in:
WHYTEWYLL 2024-03-13 12:46:49 -06:00
parent 85066ca25c
commit 96c01d447c
8 changed files with 57 additions and 2 deletions

View File

@ -15,6 +15,7 @@ SELECT
action_id,
tx_hash,
receipt_object_id,
predecessor_id,
receiver_id,
signer_id,
block_id,

View File

@ -47,6 +47,15 @@ models:
- STRING
- VARCHAR
- name: PREDECESSOR_ID
description: "{{ doc('predecessor_id')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: SIGNER_ID
description: "{{ doc('signer_id')}}"
tests:
@ -109,6 +118,6 @@ models:
- name: INSERTED_TIMESTAMP
description: "{{ doc('inserted_timestamp')}}"
- name: MODIFIED_TIMESTAMP
description: "{{ doc('modified_timestamp')}}"

View File

@ -15,6 +15,7 @@ SELECT
action_id,
tx_hash,
receiver_id,
predecessor_id,
signer_id,
block_id,
block_timestamp,
@ -23,6 +24,8 @@ SELECT
args,
deposit,
attached_gas,
logs,
receipt_succeeded,
COALESCE(
actions_events_function_call_id,
{{ dbt_utils.generate_surrogate_key(

View File

@ -38,6 +38,15 @@ models:
- STRING
- VARCHAR
- name: PREDECESSOR_ID
description: "{{ doc('predecessor_id')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: SIGNER_ID
description: "{{ doc('signer_id')}}"
tests:
@ -107,6 +116,20 @@ models:
- NUMBER
- FLOAT
- name: LOGS
description: "{{ doc('logs')}}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- ARRAY
- VARIANT
- OBJECT
- name: RECEIPT_SUCCEEDED
description: "{{ doc('receipt_succeeded')}}"
tests:
- not_null
- name: FACT_ACTIONS_EVENTS_FUNCTION_CALL_ID
description: "{{doc('id')}}"
tests:

View File

@ -16,6 +16,7 @@ SELECT
block_timestamp,
tx_hash,
receipt_object_id,
predecessor_id,
receiver_id,
signer_id,
clean_log,

View File

@ -50,6 +50,15 @@ models:
- STRING
- VARCHAR
- name: PREDECESSOR_ID
description: "{{ doc('predecessor_id')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: GAS_BURNT
description: "{{ doc('gas_burnt')}}"
tests:

View File

@ -9,6 +9,7 @@ SELECT
block_id,
block_timestamp,
signer_id,
predecessor_id,
node,
node_data,
COALESCE(

View File

@ -1,4 +1,3 @@
version: 2
models:
@ -28,6 +27,15 @@ models:
- name: SIGNER_ID
description: "{{ doc('signer_id')}}"
- name: PREDECESSOR_ID
description: "{{ doc('predecessor_id')}}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: NODE
description: "{{ doc('node')}}"