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

move cache exceptions to dbt/adapters #9361

Merged
merged 3 commits into from
Jan 11, 2024

Conversation

MichelleArk
Copy link
Contributor

@MichelleArk MichelleArk commented Jan 10, 2024

resolves #9362

Problem

As pointed out in dbt-labs/dbt-common#13 (comment), cache-related exceptions are an adapters concern and would be better suited in dbt/adapters than dbt/common

Solution

Move cache exceptions to dbt/adapters + update import paths

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
  • This PR includes type annotations for new and modified functions

@cla-bot cla-bot bot added the cla:yes label Jan 10, 2024
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 contributing guide.

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1e4286a) 86.61% compared to head (8b98362) 86.61%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9361   +/-   ##
=======================================
  Coverage   86.61%   86.61%           
=======================================
  Files         225      225           
  Lines       27024    27025    +1     
=======================================
+ Hits        23406    23407    +1     
  Misses       3618     3618           
Flag Coverage Δ
integration 83.50% <100.00%> (+<0.01%) ⬆️
unit 65.23% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MichelleArk MichelleArk marked this pull request as ready for review January 10, 2024 21:18
@MichelleArk MichelleArk requested review from a team as code owners January 10, 2024 21:18
@MichelleArk MichelleArk requested review from mikealfare and removed request for martynydbt January 10, 2024 21:18
@MichelleArk MichelleArk merged commit 0726df8 into main Jan 11, 2024
51 checks passed
@MichelleArk MichelleArk deleted the move-cache-exceptions-to-adapters branch January 11, 2024 14:58
emmyoop pushed a commit that referenced this pull request Jan 12, 2024
emmyoop pushed a commit that referenced this pull request Jan 12, 2024
emmyoop added a commit that referenced this pull request Jan 16, 2024
* replace dbt/common with dbt-common

* update requirements, remove colorama

* remove dbt-common unit tests

* WIP

* some cleanup

* update imports from dbt.common to dbt_common

* remove tests/unit/common

* changelog entry

* remove commented out code

* move cache exceptions to dbt/adapters (#9361)

* point to dbt-common main

* Move the contents of dbt.contracts.results to a new dbt.artifacts directory (#9350)

* conflict resolution cleanup

* cleanup

* add ignoreb

---------

Co-authored-by: Michelle Ark <[email protected]>
Co-authored-by: Michelle Ark <[email protected]>
Co-authored-by: Gerda Shank <[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.

[CT-3542] Move cache exceptions to dbt/adapters
2 participants