I have an issue when running a dbt run --select statement where external tables are referenced. An invalid upstream location is generated, resulting in the error e.g. IO Error: No files found that match the pattern "external/root/.parquet" when running for the config external_root: "external/root".
I've identified the problem in macros/utils/upstream.sql, and I'll put up a PR shortly. I'm not sure how to write a test that reproduces this issue though, so I'd appreciate it if you could maybe give me some pointers there. Thanks!
I have an issue when running a
dbt run --select
statement where external tables are referenced. An invalid upstream location is generated, resulting in the error e.g.IO Error: No files found that match the pattern "external/root/.parquet"
when running for the configexternal_root: "external/root"
.I've identified the problem in
macros/utils/upstream.sql
, and I'll put up a PR shortly. I'm not sure how to write a test that reproduces this issue though, so I'd appreciate it if you could maybe give me some pointers there. Thanks!