dbt-labs / dbt-codegen

Macros that generate dbt code
https://hub.getdbt.com/dbt-labs/codegen/latest/
Apache License 2.0
459 stars 99 forks source link

Generate source does not work on External schema in Redshift #151

Closed tsrp25 closed 2 months ago

tsrp25 commented 8 months ago

Describe the bug

Generate source macro does not work on External Schema tables in Redshift

Steps to reproduce

I am trying to use the Generate source macro on the tables in external schema in Redshift. It is not generating any output.

Expected results

Table metadata

Actual results

Only below is created where stage is an external schema in redshift

sources:

Screenshots and log output

System information

The contents of your packages.yml file:

Which database are you using dbt with?

The output of dbt --version:

DBT Cloud
github-actions[bot] commented 2 months ago

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

github-actions[bot] commented 2 months ago

Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.