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

Bartosz Kopytek

01/10/2023, 10:32 AM
Hi, I have the following problem: I've created DBT project with Redshift, and I wanted to create dwonstream asset (plot) from the upstream DBT asset. When I execute my code, Dagster tries to read asset from the local folder, and not the Redshift table. I can't find references in docs on how to tackle this, since the examples use local DuckDB. Anyone know how to solve this? My error message is: FileNotFoundError:
[Errno 2] No such file or directory: '/repo/dagster_redshift_demo/tmp2sdfgg3/storage/dagster_demo_schema/customers'
I defined my asset as in tutorial https://docs.dagster.io/integrations/dbt/using-dbt-with-dagster/part-four :
Copy code
@asset(
    ins={"customers": AssetIn(key_prefix=["dagster_demo_schema"])},
    group_name="staging",
)
🤖 1
NVM. I got it, I had to re-read the docs and write custom IO manager
👍 1