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

ADAP-728: Fix "On Configuration Change" config #708

Merged
merged 11 commits into from
Jul 28, 2023

Conversation

mikealfare
Copy link
Contributor

Problem

The beta implementation was completely bypassing the on_configuration_change setting, which could potentially result in removing an object which the end user did not intend to remove.

Solution

Implement on_configuration_change correctly and un-comment relevant tests.

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

@mikealfare mikealfare self-assigned this Jul 26, 2023
@mikealfare mikealfare requested a review from a team as a code owner July 26, 2023 20:45
@cla-bot cla-bot bot added the cla:yes label Jul 26, 2023
@github-actions
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-snowflake contributing guide.

@mikealfare mikealfare changed the title Fix "On Configuration Change" config ADAP-728: Fix "On Configuration Change" config Jul 26, 2023
@mikealfare mikealfare marked this pull request as draft July 27, 2023 21:50
@mikealfare mikealfare marked this pull request as ready for review July 27, 2023 23:22
@mikealfare mikealfare marked this pull request as draft July 27, 2023 23:26
@mikealfare mikealfare marked this pull request as ready for review July 28, 2023 15:57
@mikealfare mikealfare merged commit 02935f7 into main Jul 28, 2023
13 checks passed
@mikealfare mikealfare deleted the feature/dynamic-tables/on-configuration-change branch July 28, 2023 18:22
github-actions bot pushed a commit that referenced this pull request Jul 28, 2023
* add alter scenario for dynamic tables
* remove pytest skip statements on change tests
* update target lag tests
* fix target_lag in create dynamic table statement
* fixed name changes during model production
* clean up dynamic table changeset
* update target lag input options

* changie
* remove unnecessary asserts
* skip F401 on raising objects in __init__.py

(cherry picked from commit 02935f7)
colin-rogers-dbt pushed a commit that referenced this pull request Jul 31, 2023
* add alter scenario for dynamic tables
* remove pytest skip statements on change tests
* update target lag tests
* fix target_lag in create dynamic table statement
* fixed name changes during model production
* clean up dynamic table changeset
* update target lag input options

* changie
* remove unnecessary asserts
* skip F401 on raising objects in __init__.py

(cherry picked from commit 02935f7)

Co-authored-by: Mike Alfare <[email protected]>
philippe-boyd-maxa pushed a commit to maxa-ai/dbt-snowflake that referenced this pull request Nov 27, 2023
* add alter scenario for dynamic tables
* remove pytest skip statements on change tests
* update target lag tests
* fix target_lag in create dynamic table statement
* fixed name changes during model production
* clean up dynamic table changeset
* update target lag input options

* changie
* remove unnecessary asserts
* skip F401 on raising objects in __init__.py
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.

2 participants