mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 14:11:54 +00:00
gold update
This commit is contained in:
parent
85066ca25c
commit
96c01d447c
@ -15,6 +15,7 @@ SELECT
|
||||
action_id,
|
||||
tx_hash,
|
||||
receipt_object_id,
|
||||
predecessor_id,
|
||||
receiver_id,
|
||||
signer_id,
|
||||
block_id,
|
||||
|
||||
@ -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')}}"
|
||||
|
||||
@ -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(
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -16,6 +16,7 @@ SELECT
|
||||
block_timestamp,
|
||||
tx_hash,
|
||||
receipt_object_id,
|
||||
predecessor_id,
|
||||
receiver_id,
|
||||
signer_id,
|
||||
clean_log,
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -9,6 +9,7 @@ SELECT
|
||||
block_id,
|
||||
block_timestamp,
|
||||
signer_id,
|
||||
predecessor_id,
|
||||
node,
|
||||
node_data,
|
||||
COALESCE(
|
||||
|
||||
@ -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')}}"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user