mirror of
https://github.com/FlipsideCrypto/external-models.git
synced 2026-02-06 13:37:11 +00:00
1 line
5.0 MiB
JSON
1 line
5.0 MiB
JSON
|
|
{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v11.json", "dbt_version": "1.7.19", "generated_at": "2025-10-10T16:24:54.744966Z", "invocation_id": "f3fd32af-64d3-4c75-bfb6-95e2946ea073", "env": {}, "project_name": "external_models", "project_id": "5ef9d5959de01fcdb513d3850ce3be3f", "user_id": "bf4e8794-72f9-4e1d-acd0-2ded6a2c5719", "send_anonymous_usage_stats": true, "adapter_type": "snowflake"}, "nodes": {"model.external_models.silver__tokenlists_verified_tokens": {"database": "EXTERNAL", "schema": "silver", "name": "silver__tokenlists_verified_tokens", "resource_type": "model", "package_name": "external_models", "path": "tokenlists/silver/silver__tokenlists_verified_tokens.sql", "original_file_path": "models/tokenlists/silver/silver__tokenlists_verified_tokens.sql", "unique_id": "model.external_models.silver__tokenlists_verified_tokens", "fqn": ["external_models", "tokenlists", "silver", "silver__tokenlists_verified_tokens"], "alias": "tokenlists_verified_tokens", "checksum": {"name": "sha256", "checksum": "a490ff004bd761fcd617238a3d540ef8306aa57df1ee755d64881ad6965f3d03"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": ["tokenlists"], "meta": {}, "group": null, "materialized": "incremental", "incremental_strategy": "delete+insert", "persist_docs": {"relation": true, "columns": true}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": "tokenlists_verified_tokens_id", "on_schema_change": "append_new_columns", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected", "copy_grants": true}, "tags": ["tokenlists"], "description": "", "columns": {"API_URL": {"name": "API_URL", "description": "", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "ADDRESS": {"name": "ADDRESS", "description": "", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "CHAIN_ID": {"name": "CHAIN_ID", "description": "", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "external_models://models/tokenlists/silver/silver__tokenlists_verified_tokens.yml", "build_path": null, "deferred": false, "unrendered_config": {"copy_grants": true, "persist_docs": {"relation": true, "columns": true}, "on_schema_change": "append_new_columns", "materialized": "incremental", "incremental_strategy": "delete+insert", "unique_key": "tokenlists_verified_tokens_id", "tags": ["tokenlists"]}, "created_at": 1760113501.2387507, "relation_name": "EXTERNAL.silver.tokenlists_verified_tokens", "raw_code": "{{ config(\n materialized = 'incremental',\n incremental_strategy = 'delete+insert',\n unique_key = 'tokenlists_verified_tokens_id',\n tags = ['tokenlists']\n) }}\n\nWITH base_lists AS (\n\n SELECT\n api_url,\n request,\n keywords,\n logo_uri,\n list_name,\n list_tags,\n VALUE :name :: STRING AS NAME,\n VALUE :symbol :: STRING AS symbol,\n VALUE :address :: STRING AS address,\n VALUE :chainId :: STRING AS chain_id,\n VALUE :decimals :: STRING AS decimals,\n VALUE :extensions :: VARIANT AS extensions,\n _inserted_timestamp,\n all_tokenlists_id\n FROM\n {{ ref('bronze__all_tokenlists') }},\n LATERAL FLATTEN (\n input => request :data :tokens\n )\n\n{% if is_incremental() %}\nWHERE\n _inserted_timestamp >= (\n SELECT\n MAX(_inserted_timestamp)\n FROM\n {{ this }}\n )\n{% endif %}\n)\nSELECT\n api_url,\n NAME,\n symbol,\n address,\n chain_id,\n decimals,\n extensions,\n list_name AS provider,\n list_tags AS list_metadata,\n _inserted_timestamp,\n {{ dbt_utils.generate_surrogate_key(\n ['api_url', 'LOWER(address)', 'chain_id']\n ) }} AS tokenli
|