https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Alec Ryan

06/18/2022, 12:45 AM
Any idea how I can connect my dbt source to my upstream snowflake table? I seem to have it defined correctly in my sources.yml file.
🎉 1
My asset graph looks something like this
The source is called NHL_DB_RAW / RAW_NHL_GAME_DATA
SOLVED : I figured out that I needed to specify that asset_key_prefix in the source asset
Copy code
@asset(
    required_resource_keys={'snowflake'},
    partitions_def=daily_partitions_def,
    compute_kind='SQL',
    key_prefix = 'SNOWFLAKE_RAW'
)
7 Views