Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE - change schema destination of __dbt_tmp tables #1444

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

borjavb
Copy link
Contributor

@borjavb borjavb commented Jan 8, 2025

resolves #1443
docs dbt-labs/docs.getdbt.com/#

Problem

Allowing changing the schema destination of __dbt_tmp tables

Solution

Instead of changing the make_temp_relation at dbt-adapters level, we change the dependency before calling the function.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • 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

@borjavb borjavb requested a review from a team as a code owner January 8, 2025 20:42
@cla-bot cla-bot bot added the cla:yes label Jan 8, 2025
@borjavb borjavb changed the title changing destination FEATURE - change schema destination of __dbt_tmp tables Jan 8, 2025
@borjavb borjavb force-pushed the tmp_relation_location branch from 00b59ae to 942968c Compare January 8, 2025 22:42
Update incremental.sql
@borjavb borjavb force-pushed the tmp_relation_location branch from 942968c to d2c6789 Compare January 8, 2025 22:42
@borjavb borjavb force-pushed the tmp_relation_location branch from 13e76fd to 5606a84 Compare January 10, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Allow changing the destination schema for the __dbt_tmp tables.
1 participant