Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Conversation

@borjavb
Copy link
Contributor

@borjavb borjavb commented Jan 8, 2025

resolves dbt-labs/dbt-adapters#519
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
@github-actions
Copy link
Contributor

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 github-actions bot added the Stale label Jul 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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