-
Notifications
You must be signed in to change notification settings - Fork 6
Add support for vacuum to delete files no longer referenced by a table #344
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
42f87f7
Add methods to parse VACUUM statements
CGodiksen 393d0d9
Add support for VACUUM in SQL parser
CGodiksen 885df79
Add support for setting retention period in seconds in configuration
CGodiksen 5e711cb
Add retention period to configuration protocol buffer
CGodiksen c983fa9
Add test for setting retention period in configuration
CGodiksen bd039a8
Add integration test for updating retention period
CGodiksen b803c07
Add method to DeltaLake to vacuum delta table
CGodiksen a49afe5
Add context method to vacuum a table
CGodiksen f73eadb
Add utility test functions to create table and write to it
CGodiksen f7e469e
Add test for vacuuming normal tables
CGodiksen 32dfef6
Add test for vacuuming missing tables
CGodiksen a1ad409
Add test for vacuuming time series tables
CGodiksen eb090f0
Add integration test for vacuuming missing table
CGodiksen 2291cb0
Add integration test for vacuuming normal tables
CGodiksen a82469a
Add integration test for vacuuming time series tables
CGodiksen 11e035d
Add handler for Vacuum statements in manager
CGodiksen 6a843b1
Vacuum all tables if no table names are provided
CGodiksen c98bcb4
Add support for Vacuum to Operations
CGodiksen 7ba8d12
Add test for vacuuming missing table
CGodiksen ed56dbc
Add test for vacuuming normal tables
CGodiksen 6b6893f
Add test for vacuuming time series tables
CGodiksen 55382ca
Add functions to C-API to support Vacuum
CGodiksen 163d977
Add method to Python bindings to support vacuum
CGodiksen 8f616fd
Add Python unit tests for data folder vacuum
CGodiksen 45a5f39
Fix clippy issues and run Rustfmt
CGodiksen d67dfc0
Remove extra check from context vacuum tests
CGodiksen 4d97689
Use token field when checking for EOF
CGodiksen a9dfdd8
Use variable in configuration tests
CGodiksen c7e2a25
Remove TABLE_NAME constant from integration tests
CGodiksen 7be5938
Update based on comments from @skejserjensen
CGodiksen e95eeda
Update based on comments from @chrthomsen
CGodiksen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.