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

[DOP-8647] - Allow modes "ignore" and "error" in Hive.WriteOptions #143

Merged
merged 10 commits into from
Sep 11, 2023

Conversation

maxim-lixakov
Copy link
Contributor

@maxim-lixakov maxim-lixakov commented Sep 7, 2023

Change Summary

  • add ignore and error modes (if_exists=...) to Hive.WriteOptions
  • add unit and integration tests
  • updated documentation

Checklist

  • Commit message and PR title is comprehensive
  • Keep the change as small as possible
  • Unit and integration tests for the changes exist
  • Tests pass on CI and coverage does not decrease
  • Documentation reflects the changes where applicable
  • docs/changelog/next_release/<pull request or issue id>.<change type>.rst file added describing change
    (see CONTRIBUTING.rst for details.)
  • My PR is ready to review.

@maxim-lixakov maxim-lixakov self-assigned this Sep 7, 2023
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Merging #143 (1b22a11) into develop (0adf055) will increase coverage by 0.04%.
Report is 1 commits behind head on develop.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #143      +/-   ##
===========================================
+ Coverage    94.24%   94.29%   +0.04%     
===========================================
  Files          207      207              
  Lines         7703     7727      +24     
  Branches      1449     1455       +6     
===========================================
+ Hits          7260     7286      +26     
+ Misses         322      321       -1     
+ Partials       121      120       -1     
Files Changed Coverage Δ
onetl/connection/db_connection/hive/connection.py 91.07% <100.00%> (+0.27%) ⬆️
onetl/connection/db_connection/hive/options.py 100.00% <100.00%> (ø)
...etl/connection/db_connection/mongodb/connection.py 93.75% <100.00%> (+0.52%) ⬆️
onetl/connection/db_connection/mongodb/options.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 7, 2023 09:44 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov marked this pull request as ready for review September 7, 2023 09:44
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 7, 2023 12:14 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 7, 2023 12:32 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 08:20 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 08:43 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 08:53 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 10:32 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov temporarily deployed to test-pypi September 11, 2023 10:45 — with GitHub Actions Inactive
@maxim-lixakov maxim-lixakov merged commit 023aa42 into develop Sep 11, 2023
33 checks passed
@maxim-lixakov maxim-lixakov deleted the feature/DOP-8647 branch September 11, 2023 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants