ethereum-models/models/gold/core__dim_nft_metadata.sql
drethereum 06dc0c4e35
AN-2699/snowflake-tags-ethereum (#357)
* added macros and updates to dbt_project/readme for snowflake tags

* added database level tag

* more tags

* more tags

* changed readme

* added tags for chainlink and snapshot

* more tags
2023-01-23 10:33:29 -07:00

35 lines
666 B
SQL

{{ config(
materialized = 'view',
persist_docs ={ "relation": true,
"columns": true },
meta={
'database_tags':{
'table': {
'PURPOSE': 'NFT'
}
}
}
) }}
SELECT
blockchain,
commission_rate,
contract_address,
contract_name,
created_at_block_id AS created_at_block_number,
created_at_timestamp,
created_at_tx_id AS created_at_tx_hash,
creator_address,
creator_name,
image_url,
project_name,
token_id,
token_metadata,
token_metadata_uri,
token_name
FROM
{{ source(
'flipside_gold_ethereum',
'nft_metadata'
) }}