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

Fix the renamed relations code #723

Merged
merged 10 commits into from
Mar 21, 2024
Merged

Conversation

VersusFacit
Copy link
Contributor

resolves #722

Add a test after changing frozenset instantiation in Relation.

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

@VersusFacit VersusFacit self-assigned this Feb 27, 2024
@cla-bot cla-bot bot added the cla:yes label Feb 27, 2024
@VersusFacit VersusFacit force-pushed the ADAP-722/add_test_for_PR_9682_in_core branch from 3da474c to 91ec795 Compare February 27, 2024 08:36
@VersusFacit VersusFacit changed the title Add test Fix the renamed relations code Feb 27, 2024
dev-requirements.txt Outdated Show resolved Hide resolved
@VersusFacit VersusFacit force-pushed the ADAP-722/add_test_for_PR_9682_in_core branch from 1fee3c2 to 9b0f759 Compare February 28, 2024 18:42
@@ -1,6 +1,6 @@
# install latest changes in dbt-core + dbt-postgres
git+https://github.com/dbt-labs/dbt-adapters.git
git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter
git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-108/fix_renamed_relations_for_1.8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a blocking review to make sure we don't accidentally merge this.

@mikealfare mikealfare merged commit c99c73b into main Mar 21, 2024
31 checks passed
@mikealfare mikealfare deleted the ADAP-722/add_test_for_PR_9682_in_core branch March 21, 2024 18:54
Copy link
Contributor

The backport to 1.7.latest failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.7.latest 1.7.latest
# Navigate to the new working tree
cd .worktrees/backport-1.7.latest
# Create a new branch
git switch --create backport-723-to-1.7.latest
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 c99c73bd0386e2641c825b8e36c5bc0229cd3258
# Push it to GitHub
git push --set-upstream origin backport-723-to-1.7.latest
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.7.latest

Then, create a pull request where the base branch is 1.7.latest and the compare/head branch is backport-723-to-1.7.latest.

mikealfare pushed a commit that referenced this pull request Mar 21, 2024
* Add test
* Add FrozenSet to imports
* removed extraneous semicolons
* update alter table to alter view for rename

---------

Co-authored-by: Mila Page <[email protected]>
Co-authored-by: Mike Alfare <[email protected]>
Co-authored-by: Mike Alfare <[email protected]>

(cherry picked from commit c99c73b)
mikealfare added a commit that referenced this pull request Mar 21, 2024
* Fix the renamed relations code (#723)

* Add test
* Add FrozenSet to imports
* removed extraneous semicolons
* update alter table to alter view for rename

---------

Co-authored-by: Mila Page <[email protected]>
Co-authored-by: Mike Alfare <[email protected]>
Co-authored-by: Mike Alfare <[email protected]>

(cherry picked from commit c99c73b)

* fix import for de-coupling work

---------

Co-authored-by: Mila Page <[email protected]>
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.

[Bug] Add test for 9682 in core
2 participants