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

cfr: Add support to directly export to an archive file #153

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

seut
Copy link
Member

@seut seut commented May 30, 2024

Some CFR improvements:

  • Add support to directly export the system tables into a tgz file

Copy link

codecov bot commented May 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.44%. Comparing base (d191cb9) to head (01960de).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #153       +/-   ##
===========================================
- Coverage   80.59%   68.44%   -12.15%     
===========================================
  Files          68       68               
  Lines        2705     2732       +27     
===========================================
- Hits         2180     1870      -310     
- Misses        525      862      +337     
Flag Coverage Δ
influxdb ?
main 68.44% <100.00%> (+0.31%) ⬆️
mongodb ?

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.

Copy link
Member

@amotl amotl left a comment

Choose a reason for hiding this comment

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

Thank you so much for contributing to the last mile to complete this feature in its first iteration. I've added a few suggestions, and extensive thoughts and rationales why we would like to keep the previous interface as outlined on the CFR documentation page.

cratedb_toolkit/cfr/cli.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
tests/cfr/assets/sys_operations.sql Outdated Show resolved Hide resolved
tests/cfr/test_cli.py Outdated Show resolved Hide resolved
@amotl amotl mentioned this pull request Jun 4, 2024
4 tasks
@amotl amotl force-pushed the cratedb-wtf branch 10 times, most recently from 3de21e2 to 3ce81ec Compare June 4, 2024 23:06
@seut seut force-pushed the s/wtf-archive-output branch 2 times, most recently from 27b9df8 to 6847658 Compare June 10, 2024 17:15
@seut seut changed the title cfr: Add cluster name as schema for exported sys tables, add support to directly export to an archive file cfr: Add support to directly export to an archive file Jun 10, 2024
@amotl amotl added the important An item of importancy label Jun 12, 2024
@amotl amotl force-pushed the cratedb-wtf branch 3 times, most recently from ef5438b to 5a9ef0e Compare June 13, 2024 13:38
Base automatically changed from cratedb-wtf to main June 13, 2024 13:42
@seut seut marked this pull request as ready for review June 13, 2024 14:40
@seut seut requested a review from amotl June 13, 2024 14:40
Copy link
Member

@amotl amotl left a comment

Choose a reason for hiding this comment

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

Thanks a stack. 💯

@seut seut merged commit 0741181 into main Jun 13, 2024
7 checks passed
@seut seut deleted the s/wtf-archive-output branch June 13, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
important An item of importancy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants