You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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
The compact and mutation operations in the code have been significantly refactored. The CompactTarget and MutationAggregate classes have been replaced with CommitSink and CompactPartial respectively. This change was made to improve the efficiency and readability of the code.
Introduction of New Structs and Enums
Several new structs and enums have been introduced, such as CompactExtraInfo, CompactTaskInfo, CompactLazyPartInfo, SerializeBlock, and DeletedSegmentInfo. These new data structures provide a more organized and efficient way to handle compact and mutation operations.
Changes in Import Statements
The import statements throughout the code have been updated to reflect the changes in the code structure. Some modules have been removed from the import list, while others have been added. This was necessary due to the introduction of new classes and the removal of old ones.
Modification of Existing Functions
Many existing functions have been modified to accommodate the changes in the code structure. For example, the compact function has been renamed to compact_segments, and the target and pipeline parameters have been removed. Similarly, the build_pipeline method has been modified to handle different compact targets.
Removal of Redundant Code
Some redundant code has been removed from the codebase. For example, the MutationDeletedSegment struct and its associated methods have been removed. This was done to simplify the code and improve its efficiency.
ci-benchmarkBenchmark: run all testpr-featurethis PR introduces a new feature to the codebase
6 participants
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.
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
distributed execution of compact statement
This change is