mirror of
https://github.com/FlipsideCrypto/osmosis-models.git
synced 2026-02-06 11:26:55 +00:00
28 lines
528 B
SQL
28 lines
528 B
SQL
{{ config(
|
|
materialized = 'table',
|
|
tags = ['daily'],
|
|
enabled = false
|
|
) }}
|
|
|
|
SELECT
|
|
blockchain,
|
|
creator,
|
|
address,
|
|
tag_name AS label,
|
|
tag_type AS project_name,
|
|
start_date,
|
|
end_date,
|
|
{{ dbt_utils.generate_surrogate_key(
|
|
['address']
|
|
) }} AS crosschain_icns_id,
|
|
SYSDATE() AS inserted_timestamp,
|
|
SYSDATE() AS modified_timestamp,
|
|
'{{ invocation_id }}' AS _invocation_id
|
|
FROM
|
|
{{ source(
|
|
'crosschain',
|
|
'dim_tags'
|
|
) }}
|
|
WHERE
|
|
tag_type = 'ICNS'
|