You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
I have searched the existing issues, and I could not find an existing issue for this feature
I am requesting a straightforward extension of existing dbt-redshift functionality, rather than a Big Idea better suited to a discussion
Describe the feature
Redshift can pull data from a remote RDS database, a process known as federated queries. However, dbt does not recognize tables in these external schemas as valid relations. Ideally, these tables would work out of the box with dbt-redshift.
I believe this is due to the code making use of information_schema.tables and pg_class, neither of which include federated query tables. Using svv_tables for these relation lookups would expose the external tables.
Describe alternatives you've considered
I've made this work by creating a materialized view of the external schema table. The downside is the additional creation step and manually refreshing the view before use.
Who will this benefit?
This will benefit any database engineer or developer who uses federated queries to pull data from RDS databases such as Postgresql.
Is this your first time submitting a feature request?
Describe the feature
Redshift can pull data from a remote RDS database, a process known as
federated queries. However, dbt does not recognize tables in these external schemas as valid relations. Ideally, these tables would work out of the box with dbt-redshift.I believe this is due to the code making use of information_schema.tables and pg_class, neither of which include federated query tables. Using
svv_tablesfor these relation lookups would expose the external tables.Describe alternatives you've considered
I've made this work by creating a
materialized viewof the external schema table. The downside is the additional creation step and manually refreshing the view before use.Who will this benefit?
This will benefit any database engineer or developer who uses federated queries to pull data from RDS databases such as Postgresql.
Are you interested in contributing this feature?
No response
Anything else?
Querying data with federated queries in Amazon Redshift