Closed zhyass closed 2 months ago
Addition of a new compact block process
A new file titled transform_block_compact_without_split.rs
was introduced. This houses the newly structured BlockCompactorWithoutSplit
.
Implementation of the Compactor trait In order to cater to block compacting needs, this trait has been implemented in the newly added file.
Enhancement to the builder reclustering process
Some adjustments have been made to the builder_recluster.rs
file, which now includes BlockCompactorWithoutSplit
and TransformCompact
. As a result, the pipeline will compact data blocks post-merge sort.
Test file modifications
Some changes have been applied to 09_0008_fuse_optimize_table.test
file , more specifically removing the insert into t15 values(5)
statement and then adding a fresh insert into t15 values(-7)
statement.
pr-16401-826b99b-1725542588
note: this image tag is only available for internal use, please check the internal doc for more details.
pr-16401-ed274fe-1725680548
note: this image tag is only available for internal use, please check the internal doc for more details.
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
Run compact after merge sort during recluster
Tests
Type of change
This change isโ