dbt-redshift icon indicating copy to clipboard operation
dbt-redshift copied to clipboard

Update adapter so temporary tables are not created when foreign keys

Open bdgeise opened this issue 1 year ago • 2 comments

cannot reference permanent table from temporary table constraint

resolves # [[docs dbt-labs/docs.getdbt.com/#](https://github.com/dbt-labs/dbt-adapters/issues/644)](https://github.com/dbt-labs/dbt-adapters/issues/644)

Problem

cannot reference permanent table from temporary table constraint

Solution

Implement change from https://github.com/dbt-labs/dbt-core/pull/8768 and https://github.com/dbt-labs/dbt-core/pull/8889 for Redshift

Checklist

  • [x ] I have read the contributing guide and understand what's expected of me
  • [ x] I have run this code in development and it appears to resolve the stated issue
  • [ x] This PR includes tests, or tests are not required/relevant for this PR
  • [ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

bdgeise avatar Oct 11 '24 14:10 bdgeise

@dbeatty10 is there anything I'm missing to have this PR assigned and merged?

bdgeise avatar Nov 05 '24 12:11 bdgeise

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

github-actions[bot] avatar Jun 03 '25 02:06 github-actions[bot]