near-models/models/silver/atlas/silver__atlas_address_first_action.yml

55 lines
1.4 KiB
YAML
Raw Normal View History

2023-11-08 20:55:13 +00:00
version: 2
models:
- name: silver__atlas_address_first_action
description: |-
Parses transactions table for the block number and timestamp of a wallets first signed transaction.
columns:
2023-11-09 21:32:12 +00:00
- name: atlas_address_first_action_id
description: "{{ doc('id') }}"
tests:
- not_null
- unique
2023-11-08 20:55:13 +00:00
- name: address
description: "{{ doc('address') }}"
tests:
- not_null
- unique
- name: first_tx_timestamp
description: "{{ doc('block_timestamp')}}"
tests:
- not_null
- name: first_tx_block_id
description: "{{ doc('block_id') }}"
tests:
- not_null
2024-02-07 19:08:37 +00:00
- name: _partition_by_block_number
description: "{{ doc('_partition_by_block_number') }}"
2023-11-08 20:55:13 +00:00
- name: _inserted_timestamp
description: "{{ doc('_inserted_timestamp') }}"
tests:
- name: not_null_silver__atlas_address_first_action_INSERTED_TIMESTAMP_
test_name: not_null
2024-02-07 19:08:37 +00:00
- name: _modified_timestamp
description: "{{ doc('_modified_timestamp') }}"
2023-11-08 20:55:13 +00:00
- name: inserted_timestamp
description: "{{ doc('inserted_timestamp') }}"
tests:
- not_null
- name: modified_timestamp
description: "{{ doc('modified_timestamp') }}"
tests:
- not_null
2023-12-11 17:34:32 +00:00
- name: _invocation_id
2023-11-08 20:55:13 +00:00
description: "{{ doc('invocation_id') }}"