flow-models/models/silver/testnet/silver__testnet_blocks.yml
Jack Forgash 05da02b5fe
AN-6550/flow testnet v2 (#483)
* flow testnet v2

* set batch sizes

* add QN node_url to sl testnet model

* upd node_url in testnet rt models

* add gha workflows for testnet

* testnet gold models

* upd tag on gold

* upd tests

* upd tests and set min to 280mm

* upd test - rm null

---------

Co-authored-by: shah <info@shahnewazkhan.ca>
2025-09-16 20:32:27 -06:00

56 lines
1.5 KiB
YAML

version: 2
models:
- name: silver__testnet_blocks
description: -|
Initial table for the gRPC blocks response, loading data into Snowflake from the external AWS table.
columns:
- name: BLOCK_NUMBER
description: "{{ doc('block_number') }}"
- name: BLOCK_HEIGHT
description: "{{ doc('block_height') }}"
- name: ID
description: "{{ doc('id') }}"
- name: BLOCK_TIMESTAMP
description: "{{ doc('block_timestamp') }}"
- name: COLLECTION_COUNT
description: "{{ doc('collection_count') }}"
- name: PARENT_ID
description: "{{ doc('parent_id') }}"
- name: SIGNATURES
description: "{{ doc('signatures') }}"
- name: COLLECTION_GUARANTEES
description: "{{ doc('collection_guarantees') }}"
- name: BLOCK_SEALS
description: "{{ doc('block_seals') }}"
- name: COLLECTION_COUNT_AGG
description: "{{ doc('collection_count_agg') }}"
- name: _PARTITION_BY_BLOCK_ID
description: "{{ doc('_partition_by_block_id') }}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp') }}"
- name: BLOCKS_ID
description: "{{ doc('pk_id') }}"
- name: INSERTED_TIMESTAMP
description: "{{ doc('inserted_timestamp') }}"
- name: MODIFIED_TIMESTAMP
description: "{{ doc('modified_timestamp') }}"
- name: _INVOCATION_ID
description: "{{ doc('invocation_id') }}"