flow-models/models/silver/silver__labels.yml
Jack Forgash 6381b49a6a
An 1215/labels (#10)
* labels

* typo

* cluster by address

* docs

* varchar
2022-05-16 16:21:54 -06:00

74 lines
2.1 KiB
YAML

version: 2
models:
- name: silver__labels
description: |-
This table provides labels for addresses on the Flow blockchain.
columns:
- name: _ingested_at
description: "{{ doc('_ingested_at') }}"
tests:
- not_null
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- TIMESTAMP_NTZ
- name: blockchain
description: "{{ doc('blockchain') }}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: address
description: "{{ doc('address') }}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: creator
description: "{{ doc('creator') }}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: label_type
description: "{{ doc('label_type') }}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: label_subtype
description: "{{ doc('label_subtype') }}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: address_name
description: "{{ doc('address_name') }}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR
- name: project_name
description: "{{ doc('project_name') }}"
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- STRING
- VARCHAR