dbt docs generate --select "source:athena" --profile athena fails with An error occurred (InvalidRequestException) when calling the GetDataCatalog operation: DataCatalog xxxxxx_xxxx was not found. #748
Labels
pkg:dbt-athena
Issue affects dbt-athena
Is this a new bug in dbt-athena?
Current Behavior
I have two major databases in my dbt project sources - Athena and Trino and two targets in projects profiles as shown below
I can use
dbt docs generate --select "source:trino" --profile trino
to limit generating documentation for trino but I can't do the same fordbt docs generate --select "source:athena" --profile athena
as this leads to generating documentation for source:trino ultimately leading to failureExpected Behavior
When I run
dbt docs generate --select "source:athena" --profile athena
I would like to generate the documentation for objects that depend on "source:athena"Steps To Reproduce
dbt docs generate --select "source:athena" --profile athena
and it tries to generate the metadata for databases accessible via Trino as well.Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: