-
Notifications
You must be signed in to change notification settings - Fork 5
Add support for manually optimizing a table #406
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
42 commits
Select commit
Hold shift + click to select a range
512f4a2
Add method to DataFolder to optimize a table
CGodiksen 29cd0cc
Mention that optimize only marks files as removed
CGodiksen acfe453
Add test util functions to get active file count and row count
CGodiksen aeb3716
Add test to optimize normal table
CGodiksen f88d3fc
Add test to optimize time series table
CGodiksen 2189fc3
Add test for optimizing a table with zero target file size
CGodiksen 23673f1
Add test for optimizing missing table
CGodiksen 2d82e89
Add test for optimizing tables with a small target file size
CGodiksen 67a526e
Add Optimize to options for ModelarDbStatement
CGodiksen 97818cb
Add Optimize to ModelarDbDialect
CGodiksen 1d7e309
Add tests for parsing basic OPTIMIZE statements
CGodiksen 56030dc
Add tests for all successful OPTIMIZE statements
CGodiksen da561f2
Add tests for OPTIMIZE statements with wrong comma
CGodiksen 63f73c1
Add test for OPTIMIZE statement with quoted table name
CGodiksen 7deb7b9
Add test for OPTIMIZE statements with invalid TARGET
CGodiksen 1a25f39
Add tests for OPTIMIZE statements with out of order arguments
CGodiksen 8ee04e3
Add test for OPTIMIZE statement with target 0
CGodiksen febb3d8
Add method to context to optimize a table
CGodiksen 2b4aac7
Add method to Cluster to optimize a table in the entire cluster
CGodiksen b541755
Add support for ModelarDbStatement::Optimize in remote
CGodiksen bafadd4
Add optimize() to operations API
CGodiksen 49ad06e
Add optimize to C-API
CGodiksen 7b2c43e
Add optimize to C header
CGodiksen b4a90be
Add optimize to Python library
CGodiksen 970390e
Add test optimizing normal tables
CGodiksen 4ed2f5c
Add test for optimizing time series tables
CGodiksen fd9754d
Add test for optimizing missing tables
CGodiksen 3b39262
Add Python tests for optimize
CGodiksen a9123f8
Add test util method to get active file count
CGodiksen 78011af
Add context test for optimizing normal tables
CGodiksen ab0b4dd
Add context test for optimizing time series tables
CGodiksen 81960b4
Add context tests for optimizing with target size 0 and optimizing a …
CGodiksen 6158284
Move test util functions for consistency
CGodiksen 0cee4b4
Add integration test util to optimize table
CGodiksen 9e1f244
Add integration test for optimizing normal tables
CGodiksen 46e713b
Add integration test for optimizing time series tables
CGodiksen a744b59
Add integration test for optimizing missing tables
CGodiksen b2c0727
Fix clippy issues
CGodiksen 2483e49
Make comments more consistent
CGodiksen db41f3a
Make it clear in C-API that argument can be null
CGodiksen 8a2f2de
Update based on comments from @chrthomsen
CGodiksen e34adc3
Update based on comments from @skejserjensen
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
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
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.